From 115695afe34e5253816ff0e828054f8c07e2ddbd Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Sat, 5 Nov 2016 18:26:39 +0100 Subject: eth-multiplexer: Avoid local definitions. * eth-multiplexer/util.h: Include 'net/if_ether.h'. (ETH_ALEN): Drop. (struct ethhdr): Likewise. * eth-multiplexer/vdev.c: Include 'net/if_ether.h'. (ETH_HLEN): Drop. --- eth-multiplexer/vdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eth-multiplexer/vdev.c') diff --git a/eth-multiplexer/vdev.c b/eth-multiplexer/vdev.c index a526bd2a..e753b85f 100644 --- a/eth-multiplexer/vdev.c +++ b/eth-multiplexer/vdev.c @@ -22,6 +22,7 @@ #include #include +#include #include #include #include @@ -35,7 +36,6 @@ #include "bpf_impl.h" #include "util.h" -#define ETH_HLEN sizeof (struct ethhdr) static struct vether_device *dev_head; static int dev_num; -- cgit v1.2.3