fix order of AFs
This commit is contained in:
+3
-1
@@ -221,7 +221,9 @@ class Host:
|
|||||||
for d in self.__dict__:
|
for d in self.__dict__:
|
||||||
if d == "connections":
|
if d == "connections":
|
||||||
cl = []
|
cl = []
|
||||||
for c in self.connections:
|
for c in ["IPv4", "IPv6"]:
|
||||||
|
if c not in self.connections:
|
||||||
|
continue
|
||||||
# dirty ugly hack: fix conn to host backpointer
|
# dirty ugly hack: fix conn to host backpointer
|
||||||
cld = copy.deepcopy(self.connections[c].__dict__)
|
cld = copy.deepcopy(self.connections[c].__dict__)
|
||||||
cld["host"] = cld["host"].name
|
cld["host"] = cld["host"].name
|
||||||
|
|||||||
Reference in New Issue
Block a user