scapy icon indicating copy to clipboard operation
scapy copied to clipboard

sendpfast loop option does not support 0

Open ridago opened this issue 4 years ago • 0 comments

Brief description

Giving option loop=0 to sendpfast ignores the option, however the underlying tcpreplay tool sets infinite loop when given --loop 0.

Scapy version

2.4.5

Python version

3.8.10

Operating system

Linux 5.14.0

Additional environment information

No response

How to reproduce

Run sendpfast(packets, iface='someiface', loop=0)

Actual result

Packet list sent once

Expected result

Packet list sent in infinite loop

Related resources

No response

ridago avatar Jun 10 '22 12:06 ridago