[management] component types (#6866)

This commit is contained in:
Pascal Fischer
2026-07-23 11:37:09 +02:00
committed by GitHub
parent 178e6a8530
commit 31ed241a1a
35 changed files with 609 additions and 426 deletions
+2 -2
View File
@@ -54,8 +54,8 @@ func EnvelopeToNetworkMap(ctx context.Context, env *proto.NetworkMapEnvelope, lo
}
components.PeerID = canonicalKey
includeIPv6 := localPeer.SupportsIPv6() && localPeer.IPv6.IsValid()
useSourcePrefixes := localPeer.SupportsSourcePrefixes()
includeIPv6 := localPeer.SupportsIPv6 && localPeer.IPv6.IsValid()
useSourcePrefixes := localPeer.SupportsSourcePrefixes
typedNM := components.Calculate(ctx)