Merge branch 'main' into userspace-router

This commit is contained in:
Viktor Liu
2025-01-07 15:40:19 +01:00
committed by GitHub
54 changed files with 646 additions and 247 deletions
+1 -1
View File
@@ -1614,7 +1614,7 @@ func (e *Engine) GetLatestNetworkMap() (*mgmProto.NetworkMap, error) {
return nil, nil
}
// Create a deep copy to avoid external modifications
log.Debugf("Retrieving latest network map with size %d bytes", proto.Size(e.latestNetworkMap))
nm, ok := proto.Clone(e.latestNetworkMap).(*mgmProto.NetworkMap)
if !ok {