misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
d6efc0b70d
commit
4827dc65ed
@ -95,6 +95,8 @@ def parse_pcap(filename):
|
||||
|
||||
for pkt in rdpcap(filename):
|
||||
info = parse_packet(pkt, info)
|
||||
if 'essid' in info and info['essid'] is not None and 'bssid' in info and info['bssid'] is not None:
|
||||
break
|
||||
|
||||
bssid = info['bssid'] if 'bssid' in info else None
|
||||
essid = info['essid'] if 'essid' in info else None
|
||||
|
Loading…
x
Reference in New Issue
Block a user