Use 'virNetDevMacVLanMode'. Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- src/conf/domain_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 3d13c7a3de..8fecf0566c 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -1130,7 +1130,7 @@ struct _virDomainNetDef { } internal; struct { char *linkdev; - int mode; /* enum virMacvtapMode from util/macvtap.h */ + virNetDevMacVLanMode mode; } direct; struct { virDomainHostdevDef def; -- 2.37.1