Update client/internal/routemanager/systemops.go

Co-authored-by: Viktor Liu <viktor@netbird.io>
This commit is contained in:
Maycon Santos
2024-04-14 16:39:30 +02:00
committed by GitHub
parent bb08f3677f
commit 56450e1b4f

View File

@@ -256,7 +256,7 @@ func addNonExistingRoute(prefix netip.Prefix, intf string) error {
return fmt.Errorf("exists in route table: %w", err)
}
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)