[PATCH] nwfilter: remove recently added workaround define for macos x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This reverses commit 04c3704, which added a define to nwfilter to
allow libvirtd compilation on Mac OS X.  Stefan Bergers commit, 2e7294d,
is the proper solution, removing the requirement for nwfilter on non-Linux.
---
 src/nwfilter/nwfilter_learnipaddr.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/nwfilter/nwfilter_learnipaddr.c b/src/nwfilter/nwfilter_learnipaddr.c
index 7fc55a6..7c94fc2 100644
--- a/src/nwfilter/nwfilter_learnipaddr.c
+++ b/src/nwfilter/nwfilter_learnipaddr.c
@@ -38,11 +38,6 @@
 #include <net/if_arp.h>
 #include <intprops.h>
 
-// Add Linux define missing from OSX
-#ifndef ETH_ALEN
-# define ETH_ALEN       6               /* Octets in one ethernet addr   */
-#endif
-
 #include "internal.h"
 
 #include "buf.h"
-- 
1.7.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]