X-Git-Url: https://git.tcpdump.org/libpcap/blobdiff_plain/b8c57c9529c273496b6ce6a144770c0cf9de392d..8b52a90cd9936dfaae616e8de9d98124ffd17c9a:/gencode.c diff --git a/gencode.c b/gencode.c index db351648..5fe7d546 100644 --- a/gencode.c +++ b/gencode.c @@ -2018,8 +2018,6 @@ static struct block * gen_ipnet_linktype(proto) register int proto; { - struct block *b0, *b1; - switch (proto) { case ETHERTYPE_IP: return gen_cmp(OR_LINK, off_linktype, BPF_B, @@ -7367,7 +7365,6 @@ gen_inbound(dir) dir); break; -#ifdef DL_IPNET case DLT_IPNET: if (dir) { /* match outgoing packets */ @@ -7377,7 +7374,6 @@ gen_inbound(dir) b0 = gen_cmp(OR_LINK, 2, BPF_H, IPNET_INBOUND); } break; -#endif case DLT_LINUX_SLL: if (dir) {