mirror of
https://github.com/netbirdio/netbird.git
synced 2025-03-13 14:18:47 +01:00
[management] copy port info (#3283)
This commit is contained in:
parent
035c5d9f23
commit
afec455f86
@ -261,6 +261,7 @@ func toProtocolFirewallRules(rules []*types.FirewallRule) []*proto.FirewallRule
|
|||||||
Action: getProtoAction(rule.Action),
|
Action: getProtoAction(rule.Action),
|
||||||
Protocol: getProtoProtocol(rule.Protocol),
|
Protocol: getProtoProtocol(rule.Protocol),
|
||||||
Port: rule.Port,
|
Port: rule.Port,
|
||||||
|
PortInfo: rule.PortRange.ToProto(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
|
Loading…
Reference in New Issue
Block a user