mirror of
https://codeberg.org/prof_x_pvt_ltd/captive.whump.shanti-portal
synced 2024-08-14 22:46:42 +00:00
cannot use a property here?
This commit is contained in:
parent
3f8d85d50b
commit
e08ede6631
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ class Client(object):
|
||||||
|
|
||||||
|
|
||||||
def commit_rule(self):
|
def commit_rule(self):
|
||||||
rule = self.find_rule(self.ip_address, self.protocol)
|
rule = self.find_rule(self._ip_address, self.protocol)
|
||||||
if not rule:
|
if not rule:
|
||||||
rule = iptc.Rule()
|
rule = iptc.Rule()
|
||||||
rule.src = self.ip_address
|
rule.src = self.ip_address
|
||||||
|
|
Loading…
Reference in a new issue