misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli
2019-10-06 00:44:24 +02:00
parent 0b07bf3621
commit 705040e075
2 changed files with 3 additions and 3 deletions

View File

@ -152,7 +152,7 @@ class Advertiser(object):
if self._is_broadcasted_advertisement(dot11):
try:
dot11elt = p.getlayer(Dot11Elt)
if dot11elt.ID == wifi.Dot11ElemID_Identity:
if dot11elt.ID == wifi.Dot11ElemID_Whisper:
self._parse_identity(p[RadioTap], dot11, dot11elt)
else: