mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
util: add openvswitch case to virNetDevVPortProfileEqual
This function was overlooked when openvswitch support was added. Fortunately it's only use for update-device, which is relatively new and seldom-used.
This commit is contained in:
parent
21ea73e8f4
commit
8450d7b20c
@ -107,6 +107,12 @@ virNetDevVPortProfileEqual(virNetDevVPortProfilePtr a, virNetDevVPortProfilePtr
|
|||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case VIR_NETDEV_VPORT_PROFILE_OPENVSWITCH:
|
||||||
|
if (STRNEQ(a->profileID, b->profileID) ||
|
||||||
|
memcmp(a->interfaceID, b->interfaceID, VIR_UUID_BUFLEN) != 0)
|
||||||
|
return false;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user