8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-28 01:43:46 +00:00

Merge branch 'fix_ipv6_none' into 'dev'

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

See merge request federez/re2o!367
This commit is contained in:
chirac 2018-12-23 18:50:21 +01:00
commit 7b50419a82

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"""