mirror of
https://github.com/netbirdio/netbird.git
synced 2025-03-03 17:31:13 +01:00
Update client/internal/routemanager/systemops.go
Co-authored-by: Viktor Liu <viktor@netbird.io>
This commit is contained in:
parent
bb08f3677f
commit
56450e1b4f
@ -256,7 +256,7 @@ func addNonExistingRoute(prefix netip.Prefix, intf string) error {
|
|||||||
return fmt.Errorf("exists in route table: %w", err)
|
return fmt.Errorf("exists in route table: %w", err)
|
||||||
}
|
}
|
||||||
if ok {
|
if ok {
|
||||||
return fmt.Errorf("Skipping adding a new route for network %s because it already exists", prefix)
|
return fmt.Errorf("skipping adding a new route for network %s because it already exists", prefix)
|
||||||
}
|
}
|
||||||
|
|
||||||
ok, err = isSubRange(prefix)
|
ok, err = isSubRange(prefix)
|
||||||
|
Loading…
Reference in New Issue
Block a user