mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 16:26:38 +00:00
handle default ports
This commit is contained in:
@@ -1980,8 +1980,8 @@ func (a *Account) InjectProxyPolicies(ctx context.Context) {
|
|||||||
Action: PolicyTrafficActionAccept,
|
Action: PolicyTrafficActionAccept,
|
||||||
PortRanges: []RulePortRange{
|
PortRanges: []RulePortRange{
|
||||||
{
|
{
|
||||||
Start: uint16(target.Port),
|
Start: uint16(port),
|
||||||
End: uint16(target.Port),
|
End: uint16(port),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user