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
This commit is contained in:
Guy Harris 2002-12-27 22:55:40 +00:00
parent 0b721e0ccf
commit f84b455832
2 changed files with 4 additions and 1 deletions

View File

@ -1532,6 +1532,7 @@ Dave Richards <d_m_richards [AT] attbi.com> {
Martin Regner <martin.regner [AT] chello.se> {
RPC bug fix
PIM bug fixes
}
Jason Greene <jason [AT] inetgurus.net> {

View File

@ -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;