[management] copy port info (#3283)

This commit is contained in:
Pascal Fischer
2025-02-05 17:30:42 +01:00
committed by GitHub
parent 035c5d9f23
commit afec455f86

View File

@ -261,6 +261,7 @@ func toProtocolFirewallRules(rules []*types.FirewallRule) []*proto.FirewallRule
Action: getProtoAction(rule.Action),
Protocol: getProtoProtocol(rule.Protocol),
Port: rule.Port,
PortInfo: rule.PortRange.ToProto(),
}
}
return result