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 michael.tremer@ipfire.org Date: Wed Nov 25 12:47:29 2015 +0000
routing.cgi: Fix syntax error that caused an Internal Server Error
Signed-off-by: Michael Tremer michael.tremer@ipfire.org
-----------------------------------------------------------------------
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 disable'}) { }
if ($settings{'ACTION'} eq $Lang::tr{'add'}) { - # Validate inputs - if (!&General::validipandmask($settings{'IP'}))){ - $errormessage = $Lang::tr{'invalid ip'}." / ".$Lang::tr{'invalid netmask'}; + if (!&General::validipandmask($settings{'IP'})){ + $errormessage = $Lang::tr{'invalid ip'}." / ".$Lang::tr{'invalid netmask'}; }else{ #set networkip if not already correctly defined my($ip,$cidr) = split(///,$settings{'IP'});
hooks/post-receive -- IPFire 2.x development tree