From 1531eacb6446d5d6577eae1cccd36ee841f3c1ea Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Fri, 16 Sep 2022 18:12:19 +0200 Subject: [PATCH] virDomainNetDef: Use virTristateBool for 'managed_tap' instead of int MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Convert the struct member to proper type. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- 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 8fecf0566c..352b88eae5 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -1152,7 +1152,7 @@ struct _virDomainNetDef { char *downscript; char *domain_name; /* backend domain name */ char *ifname; /* interface name on the host () */ - int managed_tap; /* enum virTristateBool - ABSENT == YES */ + virTristateBool managed_tap; virNetDevIPInfo hostIP; char *ifname_guest_actual; char *ifname_guest; -- 2.47.3