diff --git a/tools/client.py b/tools/client.py index 7ee1836..7ed110d 100644 --- a/tools/client.py +++ b/tools/client.py @@ -93,7 +93,7 @@ class Client(object): def commit_rule(self): - rule = find_rule(self.ip_address, self.protocol) + rule = self.find_rule(self.ip_address, self.protocol) if not rule: rule = iptc.Rule() rule.src = self.ip_address