Update NMNE to only count MNEs in the last step.

This commit is contained in:
Marek Wolan
2024-03-07 12:15:30 +00:00
parent 8589ce449a
commit a900d59f7b
2 changed files with 88 additions and 15 deletions

View File

@@ -136,7 +136,8 @@ class NetworkInterface(SimComponent, ABC):
}
)
if CAPTURE_NMNE:
state.update({"nmne": self.nmne})
state.update({"nmne": {k: v for k, v in self.nmne.items()}})
self.nmne.clear()
return state
@abstractmethod