From mboxrd@z Thu Jan 1 00:00:00 1970 From: git@ipfire.org To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 1574f25557d0f1bf9729d61dde9f44f1806d8ede Date: Wed, 25 Nov 2015 13:47:57 +0100 Message-ID: <20151125124757.36B1C21579@argus.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6855525640720735955==" List-Id: --===============6855525640720735955== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, master has been updated via 1574f25557d0f1bf9729d61dde9f44f1806d8ede (commit) from 56b9e4553e150d514a47de1af7fae2abc43bdd0f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 1574f25557d0f1bf9729d61dde9f44f1806d8ede Author: Michael Tremer Date: Wed Nov 25 12:47:29 2015 +0000 routing.cgi: Fix syntax error that caused an Internal Server Error =20 Signed-off-by: Michael Tremer ----------------------------------------------------------------------- Summary of changes: html/cgi-bin/routing.cgi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Difference in files: diff --git a/html/cgi-bin/routing.cgi b/html/cgi-bin/routing.cgi index 2c60f67..7636d1e 100644 --- a/html/cgi-bin/routing.cgi +++ b/html/cgi-bin/routing.cgi @@ -118,10 +118,9 @@ if ($settings{'ACTION'} eq $Lang::tr{'toggle enable disa= ble'}) { } =20 if ($settings{'ACTION'} eq $Lang::tr{'add'}) { - # Validate inputs - if (!&General::validipandmask($settings{'IP'}))){ - $errormessage =3D $Lang::tr{'invalid ip'}." / ".$Lang::tr{'invalid netmask'= }; + if (!&General::validipandmask($settings{'IP'})){ + $errormessage =3D $Lang::tr{'invalid ip'}." / ".$Lang::tr{'invalid netmask= '}; }else{ #set networkip if not already correctly defined my($ip,$cidr) =3D split(/\//,$settings{'IP'}); hooks/post-receive -- IPFire 2.x development tree --===============6855525640720735955==--