From 360a6ba6ce3aced8eed1f3a13b5b2cc19c19f409 Mon Sep 17 00:00:00 2001 From: byt3bl33d3r Date: Wed, 15 Apr 2015 17:16:28 +0200 Subject: [PATCH] addresses issue #63 --- plugins/Spoof.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/Spoof.py b/plugins/Spoof.py index 4b6d72e..ecf5fbe 100644 --- a/plugins/Spoof.py +++ b/plugins/Spoof.py @@ -120,7 +120,8 @@ class Spoof(Plugin): def finish(self): for protocol in self.protocolInstances: - protocol.stop() + if hasattr(protocol, 'stop'): + protocol.stop() if not self.manualiptables: IpTables.getInstance().Flush()