]> xenbits.xensource.com Git - libvirt.git/commitdiff
nwfilter: remove recently added workaround define for macos x
authorJustin Clift <jclift@redhat.com>
Tue, 28 Sep 2010 00:52:21 +0000 (10:52 +1000)
committerJustin Clift <jclift@redhat.com>
Tue, 28 Sep 2010 12:41:11 +0000 (22:41 +1000)
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

index 7fc55a67e733848723c3961822f3fb96e02eabf9..7c94fc24ce6356563030e8cf5ac0d8108730c274 100644 (file)
 #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"