]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: fix compile error with no macvtap
authorEric Blake <eblake@redhat.com>
Fri, 18 Nov 2011 21:40:32 +0000 (14:40 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 18 Nov 2011 21:58:11 +0000 (14:58 -0700)
Since commit 6ec8288a, compilation has failed on RHEL 5:

util/virnetdevmacvlan.c:672: error: conflicting types for 'virNetDevMacVLanCreateWithVPortProfile'

* src/util/virnetdevmacvlan.c
(virNetDevMacVLanCreateWithVPortProfile): Add missing parameter.

src/util/virnetdevmacvlan.c

index 98b0f9a96b9334617b72ce98cf128c99d74b5890..12fc411b8abc3d8467c85e18b36d19298be6d622 100644 (file)
@@ -662,6 +662,7 @@ int virNetDevMacVLanCreateWithVPortProfile(const char *ifname ATTRIBUTE_UNUSED,
                                            const unsigned char *macaddress ATTRIBUTE_UNUSED,
                                            const char *linkdev ATTRIBUTE_UNUSED,
                                            enum virNetDevMacVLanMode mode ATTRIBUTE_UNUSED,
+                                           bool withTap ATTRIBUTE_UNUSED,
                                            int vnet_hdr ATTRIBUTE_UNUSED,
                                            const unsigned char *vmuuid ATTRIBUTE_UNUSED,
                                            virNetDevVPortProfilePtr virtPortProfile ATTRIBUTE_UNUSED,