add missing var
This commit is contained in:
parent
430172e3dd
commit
0b5a63a3d8
@ -331,6 +331,7 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
|
|||||||
key = "%s -> %s" % (sta_mac, ap_mac)
|
key = "%s -> %s" % (sta_mac, ap_mac)
|
||||||
if key not in self._handshakes:
|
if key not in self._handshakes:
|
||||||
self._handshakes[key] = jmsg
|
self._handshakes[key] = jmsg
|
||||||
|
s = self.session()
|
||||||
ap_and_station = self._find_ap_sta_in(sta_mac, ap_mac, s)
|
ap_and_station = self._find_ap_sta_in(sta_mac, ap_mac, s)
|
||||||
if ap_and_station is None:
|
if ap_and_station is None:
|
||||||
logging.warning("!!! captured new handshake: %s !!!", key)
|
logging.warning("!!! captured new handshake: %s !!!", key)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user