scapy
scapy copied to clipboard
sendpfast loop option does not support 0
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