diff --git a/scapy/sendrecv.py b/scapy/sendrecv.py index 1a11b7c7b3e01d01c9e2d3aed21e0ecc1b135541..71d54355c65f27c7431411e2af2b2f57eafcfa07 100644 --- a/scapy/sendrecv.py +++ b/scapy/sendrecv.py @@ -309,7 +309,7 @@ def sendpfast(x, pps=None, mbps=None, realtime=None, loop=0, file_cache=False, i if loop: argv.append("--loop=%i" % loop) if file_cache: - argv.append("--enable-file-cache") + argv.append("--preload-pcap") f = get_temp_file() argv.append(f)