mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-19 00:36:38 +00:00
Revert "Add trusted_cidrs field to bypass all restriction layers"
This reverts commit 9c1eb0d288.
This commit is contained in:
@@ -1325,7 +1325,6 @@ func (s *Server) parseRestrictions(mapping *proto.ProxyMapping) *restrict.Filter
|
||||
}
|
||||
|
||||
return restrict.ParseFilter(restrict.FilterConfig{
|
||||
TrustedCIDRs: r.GetTrustedCidrs(),
|
||||
AllowedCIDRs: r.GetAllowedCidrs(),
|
||||
BlockedCIDRs: r.GetBlockedCidrs(),
|
||||
AllowedCountries: r.GetAllowedCountries(),
|
||||
|
||||
Reference in New Issue
Block a user