mirror of https://gitee.com/openkylin/libvirt.git
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…
Reference in New Issue