]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-null.c
Remove non-dissection related flags from struct netdissect_options.
[tcpdump] / print-null.c
index 47df451ee7803d4771da099a3ff7a88d5afba7e2..8801e7b7ab330c970e5c7c852798380612767026 100644 (file)
@@ -19,7 +19,6 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#define NETDISSECT_REWORKED
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -109,13 +108,11 @@ null_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char
                ip_print(ndo, p, length);
                break;
 
-#ifdef INET6
        case BSD_AFNUM_INET6_BSD:
        case BSD_AFNUM_INET6_FREEBSD:
        case BSD_AFNUM_INET6_DARWIN:
                ip6_print(ndo, p, length);
                break;
-#endif
 
        case BSD_AFNUM_ISO:
                isoclns_print(ndo, p, length, caplen);