[config/rid] On rend utile la plage "adherents" pour faire en sorte que fil recouvre le /21

This commit is contained in:
Pierre-Elliott Bécue 2013-03-26 14:16:15 +01:00
parent fab89806f2
commit 70286f8022
2 changed files with 6 additions and 2 deletions

View file

@ -86,7 +86,7 @@ class Rid(object):
self.ipv4_dispo = True
self.priv = ip.is_private()
for tp in ['fil', 'wifi', 'adm', 'gratuit', 'personnel-ens', 'serveurs']:
for tp in ['fil', 'adherents', 'wifi', 'adm', 'gratuit', 'personnel-ens', 'serveurs']:
for net in config.NETs[tp]:
if ip in netaddr.IPNetwork(net):
self.type = tp