mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-26 04:31:56 +02:00
Correct comment
This commit is contained in:
parent
daf935942c
commit
6335ef8b48
@ -112,7 +112,7 @@ func CreateWithNativeFirewall(iface common.IFaceMapper, nativeFirewall firewall.
|
|||||||
forceNativeRouter, _ := strconv.ParseBool(EnvForceNativeRouter)
|
forceNativeRouter, _ := strconv.ParseBool(EnvForceNativeRouter)
|
||||||
|
|
||||||
// if the OS supports routing natively, or it is explicitly requested, then we don't need to filter/route ourselves
|
// if the OS supports routing natively, or it is explicitly requested, then we don't need to filter/route ourselves
|
||||||
// netstack mode won't support userspace routing as there is no interface
|
// netstack mode won't support native routing as there is no interface
|
||||||
if forceNativeRouter ||
|
if forceNativeRouter ||
|
||||||
!netstack.IsEnabled() && mgr.nativeFirewall != nil && mgr.nativeFirewall.IsServerRouteSupported() {
|
!netstack.IsEnabled() && mgr.nativeFirewall != nil && mgr.nativeFirewall.IsServerRouteSupported() {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user