Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scapy/sendrecv.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ def srloop(pkts, # type: _PacketIterable
# type: (...) -> Tuple[SndRcvList, PacketList]
"""
Send a packet at layer 3 in loop and print the answer each time
srloop(pkts, [prn], [inter], [count], ...) --> None
srloop(pkts, [prn], [inter], [count], ...) -> Tuple[SndRcvList, PacketList]
"""
return __sr_loop(sr, pkts, *args, **kargs)

Expand All @@ -803,7 +803,7 @@ def srploop(pkts, # type: _PacketIterable
# type: (...) -> Tuple[SndRcvList, PacketList]
"""
Send a packet at layer 2 in loop and print the answer each time
srloop(pkts, [prn], [inter], [count], ...) --> None
srloop(pkts, [prn], [inter], [count], ...) --> Tuple[SndRcvList, PacketList]
"""
return __sr_loop(srp, pkts, *args, **kargs)

Expand Down Expand Up @@ -1007,7 +1007,7 @@ class AsyncSniffer(object):
we have to stop the capture after this packet.
--Ex: stop_filter = lambda x: x.haslayer(TCP)
iface: interface or list of interfaces (default: None for sniffing
on all interfaces).
on conf.iface).
monitor: use monitor mode. May not be available on all OS
started_callback: called as soon as the sniffer starts sniffing
(default: None).
Expand Down