]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-cfm.c
Default to first interface from pcap_findalldevs()
[tcpdump] / print-cfm.c
index 735fb1ee0a0e83429e332213a72147a50870b1e2..2d67e84c7000ebf8b8b3b1cb47e1e95ce5bf426c 100644 (file)
 #include "config.h"
 #endif
 
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
 
 #include <stdio.h>
 
-#include "interface.h"
+#include "netdissect.h"
 #include "extract.h"
 #include "ether.h"
 #include "addrtoname.h"
@@ -249,11 +249,9 @@ cfm_mgmt_addr_print(netdissect_options *ndo,
         ND_PRINT((ndo, ", %s", ipaddr_string(ndo, tptr + 1)));
         break;
 
-#ifdef INET6
     case AFNUM_INET6:
         ND_PRINT((ndo, ", %s", ip6addr_string(ndo, tptr + 1)));
         break;
-#endif
 
     default:
         hexdump = TRUE;