X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/b638c78b40951d394e14dea3608f87a1cff9786f..refs/pull/471/head:/print-lwres.c diff --git a/print-lwres.c b/print-lwres.c index d03f6b45..7dea0335 100644 --- a/print-lwres.c +++ b/print-lwres.c @@ -31,7 +31,7 @@ #include "config.h" #endif -#include +#include #include "nameser.h" @@ -268,14 +268,12 @@ lwres_printaddr(netdissect_options *ndo, ND_PRINT((ndo, " %s", ipaddr_string(ndo, p))); p += sizeof(struct in_addr); break; -#ifdef INET6 case 2: /* IPv6 */ if (l < 16) return -1; ND_PRINT((ndo, " %s", ip6addr_string(ndo, p))); p += sizeof(struct in6_addr); break; -#endif default: ND_PRINT((ndo, " %u/", EXTRACT_32BITS(&ap->family))); for (i = 0; i < l; i++)