summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-03-08 00:36:43 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-03-08 00:36:43 +0000
commit8aa42894175217e8666b2f771256e2bf6bfaba46 (patch)
tree0a29597b151c90cfd9428f64187dbbb46cdedf06 /usr.sbin/tcpdump
parentd803d7e5583ae6c07ea96d09deade13c22337855 (diff)
correct use of a pointer variable. sync with tcpdump.org.
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/print-lwres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-lwres.c b/usr.sbin/tcpdump/print-lwres.c
index 2e756f81d24..8cdaf064557 100644
--- a/usr.sbin/tcpdump/print-lwres.c
+++ b/usr.sbin/tcpdump/print-lwres.c
@@ -29,7 +29,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-lwres.c,v 1.1 2001/03/06 16:42:08 jakob Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-lwres.c,v 1.2 2001/03/08 00:36:42 itojun Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -562,7 +562,7 @@ lwres_print(register const u_char *bp, u_int length)
/* BIND910: not used */
if (vflag > 2) {
printf(" flags:0x%lx",
- (unsigned long)ntohl(gnba->flags));
+ (unsigned long)ntohl(grbn->flags));
}
printf(" %s", tok2str(ns_type2str, "Type%d",