From 6ac7357435998805db5c1d3665d96e8f1f42a785 Mon Sep 17 00:00:00 2001 From: Ajax Date: Tue, 24 Oct 2017 17:08:07 +0200 Subject: [PATCH] Automaton: avoid a double call to parse_args First call was in __init__ Second call results from .run() call --- scapy/automaton.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scapy/automaton.py b/scapy/automaton.py index b06d05c88..0809f139b 100644 --- a/scapy/automaton.py +++ b/scapy/automaton.py @@ -670,8 +670,6 @@ class Automaton(six.with_metaclass(Automaton_metaclass)): for stname in self.states: setattr(self, stname, _instance_state(getattr(self, stname))) - - self.parse_args(*args, **kargs) self.start()