From 9e67fc5574fd24780b380bee0bdeb6675c0195e2 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Sun, 23 Dec 2018 18:48:25 +0100 Subject: [PATCH] =?UTF-8?q?Ipv6=20:=20Renvoie=20une=20liste=20vide=20pluto?= =?UTF-8?q?t=20que=20None=20(=C3=A9valu=C3=A9=20=C3=A0=20null=20quand=20me?= =?UTF-8?q?me)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- machines/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/models.py b/machines/models.py index a6a1e1ae..1ad783f1 100644 --- a/machines/models.py +++ b/machines/models.py @@ -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"""