From mboxrd@z Thu Jan 1 00:00:00 1970 From: ummeegge To: development@lists.ipfire.org Subject: Re: [PATCH] BUG11466: fix routing.cgi the function call in routing.cgi was fixed to call the new "exact" function. Date: Tue, 14 Nov 2017 14:11:59 +0100 Message-ID: In-Reply-To: <1510063806-13883-1-git-send-email-alexander.marx@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7877453585744623199==" List-Id: --===============7877453585744623199== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Alex, wanted to give you a fast feedback that this do not work here. I a get an err= or message "This is the GREEN subnet" whereby it makes no difference which su= bnet i do enter. The following line $errormessage .=3D &General::check_net_internal_range($settings{'IP'}); solves it currently. Greetings, Erik Am 07.11.2017 um 15:10 schrieb Alexander Marx: > --- > html/cgi-bin/routing.cgi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/html/cgi-bin/routing.cgi b/html/cgi-bin/routing.cgi > index 15989bd..f2014e2 100644 > --- a/html/cgi-bin/routing.cgi > +++ b/html/cgi-bin/routing.cgi > @@ -154,7 +154,7 @@ if ($settings{'ACTION'} eq $Lang::tr{'add'}) { > last; > } > #Is the network part of an internal network? > - $errormessage .=3D &General::check_net_internal($settings{'IP'}); > + $errormessage .=3D &General::check_net_internal_exact($settings{'IP'}); > last; > } >=20 > --=20 > 2.7.4 >=20 --===============7877453585744623199==--