From: Jonatan Schlag Date: Tue, 30 May 2017 09:25:37 +0000 (+0200) Subject: route: Correctly end loop when network was invalid X-Git-Tag: 009~250^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91cfed427137b927493e0683eb751b49da67fb2a;p=network.git route: Correctly end loop when network was invalid Signed-off-by: Jonatan Schlag --- diff --git a/src/functions/functions.route b/src/functions/functions.route index 303415ac..026656c1 100644 --- a/src/functions/functions.route +++ b/src/functions/functions.route @@ -158,6 +158,7 @@ route_remove() { if ! ip_is_network ${_network} && ! ip_is_valid ${_network}; then error "Invalid IP address or network: ${_network}" error=${EXIT_ERROR} + continue fi local found="false"