mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
Fix disabling of virtual port profile code on old hosts
The WITH_VIRTUALPORT macro is defined to 0 when disabled, not left undefined. So #if must be used instead of #ifdef * src/util/virnetdevvportprofile.c: s/#ifdef/#if/
This commit is contained in:
parent
3fb94eeeb2
commit
aad764e107
@ -120,7 +120,7 @@ virNetDevVPortProfileEqual(virNetDevVPortProfilePtr a, virNetDevVPortProfilePtr
|
||||
}
|
||||
|
||||
|
||||
#ifdef WITH_VIRTUALPORT
|
||||
#if WITH_VIRTUALPORT
|
||||
|
||||
static struct nla_policy ifla_port_policy[IFLA_PORT_MAX + 1] =
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user