[libvirt] [PATCH] nwfilter: Convert to virMacAddrPtr completely

Michal Privoznik mprivozn at redhat.com
Tue Jul 17 14:06:33 UTC 2012


The previous commit (387117ad92) was incomplete leaving those
who does not use libpcap with uncompilable sources beacuse
of incomplete conversion of virNWFilterDHCPSnoopReq function.
---

Pushing under build breaker and trivial rules.

 src/nwfilter/nwfilter_dhcpsnoop.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/nwfilter/nwfilter_dhcpsnoop.c b/src/nwfilter/nwfilter_dhcpsnoop.c
index d712b15..312fada 100644
--- a/src/nwfilter/nwfilter_dhcpsnoop.c
+++ b/src/nwfilter/nwfilter_dhcpsnoop.c
@@ -2200,7 +2200,7 @@ virNWFilterDHCPSnoopReq(virNWFilterTechDriverPtr techdriver ATTRIBUTE_UNUSED,
                         const char *linkdev ATTRIBUTE_UNUSED,
                         enum virDomainNetType nettype ATTRIBUTE_UNUSED,
                         const unsigned char *vmuuid ATTRIBUTE_UNUSED,
-                        const unsigned char *macaddr ATTRIBUTE_UNUSED,
+                        const virMacAddrPtr *macaddr ATTRIBUTE_UNUSED,
                         const char *filtername ATTRIBUTE_UNUSED,
                         virNWFilterHashTablePtr filterparams ATTRIBUTE_UNUSED,
                         virNWFilterDriverStatePtr driver ATTRIBUTE_UNUSED)
-- 
1.7.8.6




More information about the libvir-list mailing list