aboutsummaryrefslogtreecommitdiffstats
path: root/packet-pim.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-12-27 22:55:40 +0000
committerGuy Harris <guy@alum.mit.edu>2002-12-27 22:55:40 +0000
commitf84b4558327228a7092f5d72dd0eb001c0356bc8 (patch)
tree4e7bc19ba5c8c2a454d10b43434febf4d9588fbb /packet-pim.c
parent0b721e0ccf67b5b65e3717844d8b1443e3209b6f (diff)
From Martin Regner: properly set the offset in the join/prune processing
loops for groups, so that it gets advanced to the beginning of the next group after a group is finished. svn path=/trunk/; revision=6818
Diffstat (limited to 'packet-pim.c')
-rw-r--r--packet-pim.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-pim.c b/packet-pim.c
index f5a2988e5b..83c2fc60ac 100644
--- a/packet-pim.c
+++ b/packet-pim.c
@@ -2,7 +2,7 @@
* Routines for PIM disassembly
* (c) Copyright Jun-ichiro itojun Hagino <itojun@itojun.org>
*
- * $Id: packet-pim.c,v 1.43 2002/12/02 23:43:28 guy Exp $
+ * $Id: packet-pim.c,v 1.44 2002/12/27 22:55:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -412,6 +412,7 @@ dissect_pimv1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
"IP address: %s", s);
off += 6;
}
+ offset = off;
}
break;
}
@@ -982,6 +983,7 @@ dissect_pim(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
"IP address: %s", s);
off += advance;
}
+ offset = off;
}
breakbreak3:
break;