Commit 7ceca6db authored by goto01's avatar goto01

test

parent 6af36fa2
......@@ -10,7 +10,7 @@ def getAllIp():
s.connect(("10.255.255.255",1))
local_ip = s.getsockname()[0]
print(local_ip)
local_ip = local_ip[:-1] + "/24"
local_ip = local_ip[:-3] + "1/24"
print(local_ip)
print(type(local_ip))
arp = ARP(pdst=local_ip)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment