Fix packet payload stripping in net_probe.py
This commit is contained in:
parent
37d753db5e
commit
bfa4c11ebb
@ -97,6 +97,7 @@ def get_probe_frames(iface):
|
||||
vlan = 0
|
||||
rmsg = str(p[scapy.UDP].payload)[len(cookie):]
|
||||
riface, uid = rmsg.split(' ', 1)
|
||||
uid = uid.strip('\x00\n')
|
||||
if vlan not in neigbor_dict:
|
||||
neigbor_dict[vlan] = {}
|
||||
if uid not in neigbor_dict[vlan]:
|
||||
|
Loading…
Reference in New Issue
Block a user