Skip to content

Commit 32ec515

Browse files
committed
Fixed AsyncSniffer/sniff documentation, if iface=None it will sniff only on conf.iface
1 parent 461f0ef commit 32ec515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scapy/sendrecv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ class AsyncSniffer(object):
10071007
we have to stop the capture after this packet.
10081008
--Ex: stop_filter = lambda x: x.haslayer(TCP)
10091009
iface: interface or list of interfaces (default: None for sniffing
1010-
on all interfaces).
1010+
on conf.iface).
10111011
monitor: use monitor mode. May not be available on all OS
10121012
started_callback: called as soon as the sniffer starts sniffing
10131013
(default: None).

0 commit comments

Comments
 (0)