diff options
-rw-r--r-- | gg_sniff/pcap.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gg_sniff/pcap.c b/gg_sniff/pcap.c index 89f9f2a..c735f59 100644 --- a/gg_sniff/pcap.c +++ b/gg_sniff/pcap.c @@ -633,11 +633,7 @@ phandler_loop(u_char *user, const struct pcap_pkthdr *h, const u_char *p) len -= NULL_HDRLEN; ip_handle(ip, pend, len); break; -#if defined(__OpenBSD__) case AF_LINK: -#else - case AF_LOCAL: -#endif ep = (struct ether_header *)(p + NULL_HDRLEN); // XXX call phandler_ether instead ether_type = ntohs(ep->ether_type); |