documentation
darcs-hash:20060105183455-72cb0-f8eaac26f6c47b3668ebee5d3a3d9358bcd96bd5.gz
This commit is contained in:
parent
2ec00a7d9f
commit
0654e47d34
1 changed files with 2 additions and 0 deletions
|
@ -121,6 +121,8 @@ def AddrInNets(ip,nets) :
|
|||
return False
|
||||
|
||||
def is_crans(ip):
|
||||
""" Vérifie que l'ip est dans le réseau CRANS
|
||||
"""
|
||||
if re.match(NETs_regexp['all'], ip):
|
||||
return True
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue