]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-nflog.c
Avoid collison with error(), clean up code a bit.
[tcpdump] / print-nflog.c
index cd0428bc2862b24fd00e49e01fff4d2c826bfe4a..a29b930cb30f25ea4c01a57cc34efb9c1208a484 100644 (file)
@@ -25,7 +25,6 @@
  * DAMAGE.
  */
 
-#define NETDISSECT_REWORKED
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -145,11 +144,11 @@ nflog_if_print(netdissect_options *ndo,
                ip_print(ndo, p, length);
                break;
 
-#ifdef INET6
+#ifdef AF_INET6
        case AF_INET6:
                ip6_print(ndo, p, length);
                break;
-#endif /*INET6*/
+#endif /* AF_INET6 */
 
        default:
                if (!ndo->ndo_eflag)