mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +00:00
Ipv6 : Renvoie une liste vide plutot que None (évalué à null quand meme)
This commit is contained in:
parent
965ec1ab69
commit
9e67fc5574
1 changed files with 1 additions and 1 deletions
|
@ -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"""
|
||||
|
|
Loading…
Reference in a new issue