From 1d82e0c95ce3160e08edc2fef2607e2437af58eb Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Mon, 25 May 2015 01:09:47 +0200 Subject: [PATCH] =?UTF-8?q?Correction=20de=20bug=20:=20les=20ipv4=20priv?= =?UTF-8?q?=C3=A9es=20doivent=20aussi=20etre=20renvoy=C3=A9es=20par=20ridt?= =?UTF-8?q?ools?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion/ridtools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/ridtools.py b/gestion/ridtools.py index 29d6aefe..f5b895cc 100644 --- a/gestion/ridtools.py +++ b/gestion/ridtools.py @@ -59,7 +59,7 @@ class Rid(object): if self.type == 'Inconnu': raise ValueError("rid inconnu : %d" % rid) - self.ipv4_dispo = (rid & (1 << 15)) == 0 and self.type != 'special' or self.rid in config.rid_machines_speciales + self.ipv4_dispo = (rid & (1 << 15)) == 0 and self.type != 'special' or self.rid in config.rid_machines_speciales or (rid & (1 << 14)) != 0 self.priv = (rid & (1 << 14)) != 0