diff --git a/scapy/sendrecv.py b/scapy/sendrecv.py index ec74872418c..3b119a1e905 100644 --- a/scapy/sendrecv.py +++ b/scapy/sendrecv.py @@ -1314,9 +1314,9 @@ def stop_cb(): self.stop_cb = stop_cb try: + self.continue_sniff = True if started_callback: started_callback() - self.continue_sniff = True # Start timeout if timeout is not None: