Commit 848ab425 by Bach Dániel

firewall: remove unused get_external_ipv6()

parent de40a65b
......@@ -134,9 +134,6 @@ class Rule(models.Model):
return (self.nat_external_ipv4
if self.nat_external_ipv4 else
def get_external_ipv6(self):
def get_external_port(self, proto='ipv4'):
assert proto in ('ipv4', 'ipv6')
if proto == 'ipv4' and self.nat_external_port:
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 sign in to comment