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, next has been updated via 3a5427f542824b7e6c15ef90fe995f54c63f16fb (commit) from 57c22fd6d09880e89b9f4ee1385f060269ab2d30 (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 3a5427f542824b7e6c15ef90fe995f54c63f16fb Author: Stefan Schantl stefan.schantl@ipfire.org Date: Wed Nov 9 21:09:09 2011 +0100
vpnmain.cgi: Allow %any as remote host/IP.
http://forum.ipfire.org/index.php?topic=5458.0
-----------------------------------------------------------------------
Summary of changes: html/cgi-bin/vpnmain.cgi | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Difference in files: diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index e1a8200..eea2c01 100644 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -1351,7 +1351,7 @@ END }
if ($cgiparams{'REMOTE'}) { - if (! &General::validip($cgiparams{'REMOTE'})) { + if (($cgiparams{'REMOTE'} ne '%any') && (! &General::validip($cgiparams{'REMOTE'}))) { if (! &General::validfqdn ($cgiparams{'REMOTE'})) { $errormessage = $Lang::tr{'invalid input for remote host/ip'}; goto VPNCONF_ERROR;
hooks/post-receive -- IPFire 2.x development tree