summaryrefslogtreecommitdiff
path: root/print-igrp.c
diff options
context:
space:
mode:
authoritojun <itojun>2000-04-28 11:01:49 +0000
committeritojun <itojun>2000-04-28 11:01:49 +0000
commit9e560fab81644dc760b32ca7467c2204555e31d6 (patch)
treeb3d316b4f9b5e180d7367df2fad1cd8fcc98da20 /print-igrp.c
parente9e7b4a942ba19f76194ba4073914c95a3b87818 (diff)
downloadtcpdump-9e560fab81644dc760b32ca7467c2204555e31d6.tar.gz
corrected bitfield fix (careless char -> int rewrite broke struct for
protocol header).
Diffstat (limited to 'print-igrp.c')
-rw-r--r--print-igrp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/print-igrp.c b/print-igrp.c
index 4232d7b8..b2cdb214 100644
--- a/print-igrp.c
+++ b/print-igrp.c
@@ -23,7 +23,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-igrp.c,v 1.11 1999-11-21 09:36:53 fenner Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-igrp.c,v 1.12 2000-04-28 11:01:49 itojun Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -107,8 +107,8 @@ igrp_print(register const u_char *bp, u_int length, register const u_char *bp2)
next = EXTRACT_16BITS(&hdr->ig_nx);
(void)printf(" %s V%d edit=%d AS=%d (%d/%d/%d)",
- tok2str(op2str, "op-#%d", hdr->ig_op),
- hdr->ig_v,
+ tok2str(op2str, "op-#%d", IGRP_OP(hdr->ig_vop)),
+ IGRP_V(hdr->ig_vop),
hdr->ig_ed,
EXTRACT_16BITS(&hdr->ig_as),
nint,