diff options
Diffstat (limited to 'contrib/tcpdump/print-domain.c')
-rw-r--r-- | contrib/tcpdump/print-domain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/tcpdump/print-domain.c b/contrib/tcpdump/print-domain.c index 77da8df..77140c4 100644 --- a/contrib/tcpdump/print-domain.c +++ b/contrib/tcpdump/print-domain.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-domain.c,v 1.64 2001/01/02 23:24:51 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-domain.c,v 1.64.2.1 2001/02/21 09:01:20 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -555,6 +555,7 @@ ns_print(register const u_char *bp, u_int length) register const u_char *cp = NULL; np = (const HEADER *)bp; + TCHECK(*np); /* get the byte-order right */ qdcount = ntohs(np->qdcount); ancount = ntohs(np->ancount); |