From: Michael Tremer Date: Sat, 27 Dec 2014 16:36:49 +0000 (+0000) Subject: ipv4: Fix infinite loop when searching for a net address X-Git-Tag: 007~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=557a9ac5df4180443220f72724e970853412d29a;p=network.git ipv4: Fix infinite loop when searching for a net address --- diff --git a/src/functions/functions.ipv4 b/src/functions/functions.ipv4 index 067b87c5..be836a28 100644 --- a/src/functions/functions.ipv4 +++ b/src/functions/functions.ipv4 @@ -195,7 +195,7 @@ function ipv4_netmask2prefix() { } function ipv4_get_network() { - local network=$(ipv4_get_network $@) + local network=$(ipv4_get_network_encoded $@) ipv4_decode ${network} }