summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@open-mesh.com>2013-04-03 10:14:20 +0200
committerAntonio Quartulli <ordex@autistici.org>2013-04-22 09:55:23 +0200
commitdd981ab091cde09bb9eb23c8d81305ba615ee30c (patch)
tree7d055170b75f69c210ed0de8577c39b4b3dc30c7 /tools/perf/scripts/python/check-perf-trace.py
parent60d509fa6a9c4653a86ad830e4c4b30360b23f0e (diff)
batman-adv: use the proper header len when checking the TTVN
Unicast packet might be of type either UNICAST or UNICAST4ADDR. In the two cases the header size is different, but the mechanism checking the TTVN field was assuming it to be always of the same type (UNICAST), so failing to access the inner Ethernet header in case of UNICAST4ADDR. Fix this by passing the real header length as argument. Signed-off-by: Antonio Quartulli <antonio@open-mesh.com> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions