* [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 1574f25557d0f1bf9729d61dde9f44f1806d8ede
@ 2015-11-25 12:47 git
0 siblings, 0 replies; only message in thread
From: git @ 2015-11-25 12:47 UTC (permalink / raw)
To: ipfire-scm
[-- Attachment #1: Type: text/plain, Size: 1848 bytes --]
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(a)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(a)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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-25 12:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-25 12:47 [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 1574f25557d0f1bf9729d61dde9f44f1806d8ede git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox