mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
Fix build break
* Add types to switch; the switch is only exectuted for known types because of a preceding conditional, so this fix is merely to placate the compiler.
This commit is contained in:
parent
9bcad69093
commit
67253251c5
@ -5719,6 +5719,15 @@ xenDaemonFormatSxprNet(virConnectPtr conn,
|
||||
if (def->data.ethernet.ipaddr != NULL)
|
||||
virBufferVSprintf(buf, "(ip '%s')", def->data.ethernet.ipaddr);
|
||||
break;
|
||||
|
||||
case VIR_DOMAIN_NET_TYPE_USER:
|
||||
case VIR_DOMAIN_NET_TYPE_SERVER:
|
||||
case VIR_DOMAIN_NET_TYPE_CLIENT:
|
||||
case VIR_DOMAIN_NET_TYPE_MCAST:
|
||||
case VIR_DOMAIN_NET_TYPE_INTERNAL:
|
||||
case VIR_DOMAIN_NET_TYPE_DIRECT:
|
||||
case VIR_DOMAIN_NET_TYPE_LAST:
|
||||
break;
|
||||
}
|
||||
|
||||
if (def->ifname != NULL &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user