mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05: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:
+2
-2
@@ -718,8 +718,6 @@ delMacvtap(const char *ifname,
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* associatePortProfile
|
||||
@@ -801,3 +799,5 @@ disassociatePortProfileId(const char *macvtap_ifname,
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
#endif /* WITH_MACVTAP */
|
||||
|
||||
Reference in New Issue
Block a user