Commit 2f5091fa authored by Julien Muchembled's avatar Julien Muchembled

UPnP: fix AttributeError at exit

parent a9bdd7a5
......@@ -47,4 +47,4 @@ class Forwarder:
def clear(self):
for args in self._rules:
self._u.deleteportmapping(args[0], args[1])
del self.rules[:]
del self._rules[:]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment