[libvirt] [PATCH] nwfilter: Convert to virMacAddrPtr not virMacAddrPtr*

Michal Privoznik mprivozn at redhat.com
Tue Jul 17 14:35:15 UTC 2012


My previous patch wasn't complete as it converted from
(unsigned char *) to (virMacAddrPtr *). It should be
(virMacAddrPtr) only.
---

Again, pushed under build breaker.

 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 312fada..b38e780 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 virMacAddrPtr *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