commit 20198234435a42b629005b5256e657fae5811fd5
parent ee3a044b757d43a16340096cd9f4185a41ff3d9c
Author: Denis Kenzior <denkenz@gmail.com>
Date: Wed, 11 May 2022 14:05:51 -0500
auto-t: Fix TA/BSSID addresses of spoofed disassoc
The TA/BSSID addresses of spoofed disassociate frames were set
incorrectly. They should be using the 02:00:00:XX:XX:XX address, but
instead were being converted over to 42:00:00:XX:XX:XX address
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autotests/util/hwsim.py b/autotests/util/hwsim.py
@@ -410,7 +410,7 @@ class Hwsim(iwd.AsyncOpAbstract):
'''
Send a spoofed disassociate frame to a station
'''
- dest = self._convert_address(radio.addresses[0].replace(':', ''))
+ dest = radio.addresses[0].replace(':', '')
frame = 'a0 00 3a 01'
frame += station.replace(':', '')