Commit dd0841b0 by Dudás Ádám

firewall: add self for 'private' methods

parent e0ef5de6
......@@ -323,8 +323,8 @@ class Record(models.Model):
return self.address
def get_data(self):
name = __get_name()
address = __get_address()
name = self.__get_name()
address = self.__get_address()
if self.host and self.type == 'AAAA' and not self.host.ipv6:
return None
elif address is None or name is None:
......
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