Dissect MIP extensions if the packet was claimed to have more data in it
than the fixed-length stuff, even if that runs past the end of the captured data, so if it *does* run past the end of the captured data, we report a short frame. svn path=/trunk/; revision=5292
This commit is contained in:
parent
ffac667c3b
commit
4943a12e1b
|
@ -2,7 +2,7 @@
|
|||
* Routines for Mobile IP dissection
|
||||
* Copyright 2000, Stefan Raab <sraab@cisco.com>
|
||||
*
|
||||
* $Id: packet-mip.c,v 1.28 2002/04/29 08:20:09 guy Exp $
|
||||
* $Id: packet-mip.c,v 1.29 2002/04/29 09:57:29 guy Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@ethereal.com>
|
||||
|
@ -378,7 +378,7 @@ dissect_mip( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
} /* End switch */
|
||||
|
||||
if (tree) {
|
||||
if (tvb_offset_exists(tvb, offset))
|
||||
if (tvb_reported_length_remaining(tvb, offset) > 0)
|
||||
dissect_mip_extensions(tvb, offset, pinfo, mip_tree);
|
||||
}
|
||||
} /* dissect_mip */
|
||||
|
|
Loading…
Reference in New Issue