X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/e9e7578870b9578be040bb4c1e3f056c93810d9a..a909db55ebc50de487e65f19b3250d0b45763d2d:/print-pim.c diff --git a/print-pim.c b/print-pim.c index 9009595c..e9bb9a71 100644 --- a/print-pim.c +++ b/print-pim.c @@ -22,10 +22,10 @@ /* \summary: Protocol Independent Multicast (PIM) printer */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif -#include +#include "netdissect-stdinc.h" #include "netdissect.h" #include "addrtoname.h" @@ -896,7 +896,7 @@ pimv2_print(netdissect_options *ndo, ND_TCHECK_1(ip->ip_vhl); switch (IP_V(ip)) { case 0: /* Null header */ - ND_TCHECK(ip->ip_dst); + ND_TCHECK_4(ip->ip_dst); ND_PRINT("IP-Null-header %s > %s", ipaddr_string(ndo, &ip->ip_src), ipaddr_string(ndo, &ip->ip_dst));