fix order of AFs

This commit is contained in:
2026-02-06 19:49:21 -05:00
parent e55a81568f
commit e3dd461d04
+3 -1
View File
@@ -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