diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-07-08 15:26:04 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-07-08 15:26:04 +0000 |
commit | b9b6ddda4aa4f8fb1234ad5021500728551e29d7 (patch) | |
tree | a44977f55cbf72befe422aa1497e728b1764b35e /epan/dissectors/packet-glbp.c | |
parent | 01186c68640f278aef9698dd921dd6c002119663 (diff) |
Readd the feature to skip the unknown/faulty remainder
of an IE and still display the next one(s).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29023 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-glbp.c')
-rw-r--r-- | epan/dissectors/packet-glbp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-glbp.c b/epan/dissectors/packet-glbp.c index f4317bc4aa..a7a0a27c28 100644 --- a/epan/dissectors/packet-glbp.c +++ b/epan/dissectors/packet-glbp.c @@ -365,6 +365,9 @@ dissect_glbp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) expert_add_info_format(pinfo, NULL, PI_MALFORMED, PI_ERROR, "Zero or negative length"); return lastoffset; } + /* Skip over trailing bytes before starting with the next element */ + if (lastoffset + length > offset) + offset = lastoffset + length; } } return offset; |