diff options
author | William Tu <u9012063@gmail.com> | 2016-07-20 21:38:47 -0700 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-07-22 04:11:28 +0000 |
commit | e3a15cfbb24b79c0225d391dc44362ac9cdcb077 (patch) | |
tree | 219f00909622c63dc45cc5c917e3b72dc620b831 /text2pcap-scanner.l | |
parent | 3dbc84414ef3bd04c11a18f5f9ae0b8e3c1b2909 (diff) |
Fix ERSPAN type II and type III offset.
For ERSPAN type II (version == 1), the offset is shifted by 4 at the
end. As a result, the 'offset+=2' at the end of ERSPAN type III should
be in its own 'else' scope.
Change-Id: I64a55d5722e3f4f5672ca2a4228583b3b51559e1
Reviewed-on: https://code.wireshark.org/review/16568
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'text2pcap-scanner.l')
0 files changed, 0 insertions, 0 deletions