Skip to content
This repository was archived by the owner on Sep 4, 2022. It is now read-only.

Commit cb6ef2d

Browse files
Do not enter promiscuous mode.
That is not required, so better avoid messing with ethernet iface.
1 parent bdb61a9 commit cb6ef2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ubnt_discovery.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def ubntDiscovery():
6565
# but we'll expect a reply on the broadcast IP as well (radioIP->255.255.255.255),
6666
# not on our local IP.
6767
# Therefore we must disable destination IP checking in scapy
68+
conf.sniff_promisc=False
6869
conf.iface = iface
6970
ubnt_discovery_packet = Ether(dst="ff:ff:ff:ff:ff:ff", src=src_mac)/\
7071
IP(dst="255.255.255.255")/\

0 commit comments

Comments
 (0)