keep IPv4 addrs as IPv4
This commit is contained in:
@@ -264,7 +264,6 @@ class Host:
|
||||
# called when reloading class from pickle, add new fields here
|
||||
def fixup(self):
|
||||
for c in ["IPv4", "IPv6"]:
|
||||
print("Host %s" % self.name)
|
||||
if c in self.connections:
|
||||
addr = self.connections[c].addr
|
||||
if addr[0:7] == "::ffff:":
|
||||
|
||||
Reference in New Issue
Block a user