]> The Tcpdump Group git mirrors - tcpdump/blobdiff - af.c
CI: Add warning exemptions for Sun C (suncc-5.14) on Solaris 10
[tcpdump] / af.c
diff --git a/af.c b/af.c
index ea146014b0d98c49e7cc920d2f9052577ea1873e..1f8a93a5c45d021a53d9f86865477775127cb138 100644 (file)
--- a/af.c
+++ b/af.c
@@ -15,9 +15,7 @@
  * Original code by Hannes Gredler ([email protected])
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 #include "netdissect.h"
@@ -25,8 +23,8 @@
 
 const struct tok af_values[] = {
     { 0,                      "Reserved"},
-    { AFNUM_INET,             "IPv4"},
-    { AFNUM_INET6,            "IPv6"},
+    { AFNUM_IP,               "IPv4"},
+    { AFNUM_IP6,              "IPv6"},
     { AFNUM_NSAP,             "NSAP"},
     { AFNUM_HDLC,             "HDLC"},
     { AFNUM_BBN1822,          "BBN 1822"},