8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-27 07:02:26 +00:00

Ipv6 : Renvoie une liste vide plutot que None (évalué à null quand meme)

This commit is contained in:
Gabriel Detraz 2018-12-23 18:48:25 +01:00 committed by chirac
parent 965ec1ab69
commit 9e67fc5574

View file

@ -1092,7 +1092,7 @@ class Interface(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model):
.get_cached_value('ipv6_mode') == 'DHCPV6'):
return self.ipv6list.filter(slaac_ip=False)
else:
return None
return []
def mac_bare(self):
""" Formatage de la mac type mac_bare"""