On 09/27/2010 09:10 PM, Justin Clift wrote:
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"
ACK.
Stefan