Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion scapy/automaton.py
Original file line number Diff line number Diff line change
Expand Up @@ -1042,9 +1042,10 @@ def _run() -> None:
# start atmt
atmt_server.runbg()
# housekeeping
for atmt, clientsocket in clients:
for atmt, clientsocket in clients[:]:
if not atmt.isrunning():
atmt.destroy()
clients.remove((atmt, clientsocket))
except KeyboardInterrupt:
print("X Exiting.")
ssock.shutdown(socket.SHUT_RDWR)
Expand Down
1 change: 0 additions & 1 deletion test/scapy/automaton.uts
Original file line number Diff line number Diff line change
Expand Up @@ -519,4 +519,3 @@ if LINUX:
if LINUX:
# Remove the iptables rule
assert os.system(IPTABLE_RULE % ('D', SECDEV_IP4)) == 0

Loading