increment offset to point to the first byte after the options
(the code used to set an absolute position, if that was 0, we were stuck
 in an endless loop)

svn path=/trunk/; revision=45646
This commit is contained in:
Martin Kaiser 2012-10-18 20:57:02 +00:00
parent 8bf29e8efe
commit 05c1e47f68
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
tvb, offset, clnp_tree );
}
offset = cnf_hdr_len;
offset += opt_len;
/* If clnp_reassemble is on, this is a segment, we have all the
* data in the segment, and the checksum is valid, then just add the