mirror of https://github.com/secdev/scapy.git
Automaton: avoid a double call to parse_args
First call was in __init__ Second call results from .run() call
This commit is contained in:
parent
4f6fcce10b
commit
6ac7357435
|
@ -671,8 +671,6 @@ class Automaton(six.with_metaclass(Automaton_metaclass)):
|
|||
setattr(self, stname,
|
||||
_instance_state(getattr(self, stname)))
|
||||
|
||||
self.parse_args(*args, **kargs)
|
||||
|
||||
self.start()
|
||||
|
||||
def __iter__(self):
|
||||
|
|
Loading…
Reference in New Issue