diff --git a/scapy.py b/scapy.py
index 2bd48f7ba40fd0874a35e942920a4326a3c825e9..6fd3762ac813c6051838ee2fed7c53b014562e1a 100755
--- a/scapy.py
+++ b/scapy.py
@@ -11519,7 +11519,9 @@ class Automaton:
             except ATMT.NewStateRequested,state_req:
                 self.debug(2, "switching from [%s] to [%s]" % (self.state.state,state_req.state))
                 self.state = state_req
-
+            except KeyboardInterrupt:
+                self.debug(1,"Interrupted by user")
+                break
 
     def my_send(self, pkt):
         self.send_sock.send(pkt)