mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: Detect tshark regression in wpas_mesh_gate_forwarding
Skip this test case if the used tshark version has regression in mesh control field parsing: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15521 Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
dad2f3253c
commit
e62a1cbaf1
@ -1464,6 +1464,13 @@ def test_wpas_mesh_gate_forwarding(dev, apdev, p):
|
||||
break
|
||||
time.sleep(0.5)
|
||||
|
||||
if addr0 not in da and addr1 not in da:
|
||||
filt = "wlan.sa==%s" % addr2
|
||||
mesh = run_tshark(capfile, filt, ["wlan.mesh.control_field"])
|
||||
if "1" not in mesh:
|
||||
# Wireshark regression in mesh control field parsing:
|
||||
# https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15521
|
||||
raise HwsimSkip("tshark bug 15521")
|
||||
if addr0 not in da:
|
||||
raise Exception("Frame to gate %s not observed" % addr0)
|
||||
if addr1 not in da:
|
||||
|
Loading…
Reference in New Issue
Block a user