summaryrefslogtreecommitdiff
path: root/eth-multiplexer
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-08-23 14:58:49 +0200
committerJustus Winter <justus@gnupg.org>2017-08-23 16:08:10 +0200
commit55efa897ebaa7ec880cd2b219362cb85f970cf33 (patch)
tree12b32818eec9a52d089ba2cf506d1e9c901f1721 /eth-multiplexer
parent25de3c52515332b41bf31774ce1ed8f32ee7adbf (diff)
eth-multiplexer: Remove local definiton.
* eth-multiplexer/ethernet.c (NET_FLAGS): Drop macro.
Diffstat (limited to 'eth-multiplexer')
-rw-r--r--eth-multiplexer/ethernet.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/eth-multiplexer/ethernet.c b/eth-multiplexer/ethernet.c
index ce46c599..c4ed3f43 100644
--- a/eth-multiplexer/ethernet.c
+++ b/eth-multiplexer/ethernet.c
@@ -77,9 +77,6 @@ int ethernet_demuxer (mach_msg_header_t *inp,
int set_promisc (char *dev_name, mach_port_t ether_port, int is_promisc)
{
-#ifndef NET_FLAGS
-#define NET_FLAGS (('n'<<16) + 4)
-#endif
int flags;
int ret;
size_t count;