mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
build: fix compilation without macvtap
* src/util/macvtap.c: (associatePortProfileId) (disassociatePortProfileId): Move inside HAVE_MACVTAP conditional. Reported by Eduardo Otubo.
This commit is contained in:
parent
572c6cc10a
commit
8d9c7a93bc
@ -718,8 +718,6 @@ delMacvtap(const char *ifname,
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* associatePortProfile
|
||||
@ -801,3 +799,5 @@ disassociatePortProfileId(const char *macvtap_ifname,
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
#endif /* WITH_MACVTAP */
|
||||
|
Loading…
x
Reference in New Issue
Block a user