From 7b206af71c61eecb1478e385e3ea5f50017a4ba8 Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Sat, 7 May 2011 18:39:59 +0200 Subject: [PATCH] =?UTF-8?q?[ipt]=20Les=20interfaces=20dynamiques=20peuvent?= =?UTF-8?q?=20g=C3=A9n=C3=A9rer=20un=20num=C3=A9ro=20>=209?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ignore-this: b5a8a82cdfe17fad9281afcd0c200136 darcs-hash:20110507163959-ffbb2-89f7d24581a9080dc3ebf1a706eb1e1f2fba1ee8.gz --- gestion/ipt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/ipt.py b/gestion/ipt.py index e3a57472..eb5459dd 100755 --- a/gestion/ipt.py +++ b/gestion/ipt.py @@ -451,7 +451,7 @@ def iface6(net): subnet = netaddr.IPNetwork(prefix[net][0]) i = 0 while i < len(output): - if re.match('^[0-9]:', output[i]): + if re.match('^[0-9]+:', output[i]): dev = re.sub('(@.*|:)', '', output[i].split()[1]) i = i + 1 while (i < len(output)) and ('inet6' in output[i]):