Carry netbird-vnc policies over the component network map

This commit is contained in:
Viktor Liu
2026-07-30 10:43:26 +02:00
parent d9e81da308
commit d3dea56828
5 changed files with 260 additions and 203 deletions
+2
View File
@@ -144,6 +144,8 @@ func GetProtoProtocol(protocol string) proto.RuleProtocol {
return proto.RuleProtocol_ICMP
case types.PolicyRuleProtocolNetbirdSSH:
return proto.RuleProtocol_NETBIRD_SSH
case types.PolicyRuleProtocolNetbirdVNC:
return proto.RuleProtocol_NETBIRD_VNC
default:
return proto.RuleProtocol_UNKNOWN
}