mirror of https://github.com/slackhq/nebula.git
parent
3d8f61a3ad
commit
174d656cf9
|
@ -9,7 +9,7 @@ class FilterModule(object):
|
||||||
}
|
}
|
||||||
|
|
||||||
def to_nebula_ip(self, ip_str):
|
def to_nebula_ip(self, ip_str):
|
||||||
ip_list = map(int, ip_str.split("."))
|
ip_list = list(map(int, ip_str.split(".")))
|
||||||
ip_list[0] = 10
|
ip_list[0] = 10
|
||||||
ip_list[1] = 168
|
ip_list[1] = 168
|
||||||
ip = '.'.join(map(str, ip_list))
|
ip = '.'.join(map(str, ip_list))
|
||||||
|
|
Loading…
Reference in New Issue