Revision: 6481
http://ipcop.svn.sourceforge.net/ipcop/?rev=6481&view=rev
Author: owes
Date: 2012-03-14 21:17:01 +0000 (Wed, 14 Mar 2012)
Log Message:
-----------
Better to commit a version with comments instead of testing version ...
Modified Paths:
--------------
ipcop/trunk/html/cgi-bin/ipsec.cgi
Modified: ipcop/trunk/html/cgi-bin/ipsec.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/ipsec.cgi 2012-03-14 21:02:04 UTC (rev 6480)
+++ ipcop/trunk/html/cgi-bin/ipsec.cgi 2012-03-14 21:17:01 UTC (rev 6481)
@@ -1221,9 +1221,11 @@
;
}
elsif (! $cgiparams{'KEY'}) {
-# my $pskdisabled = ($vpnsettings{'VPN_IP'} eq '%defaultroute') ?
"disabled='disabled'" : '' ;
+ # Using %defaultroute in ipsec.secrets produces an error during
openswan start
+ # strangely a roadwarrior using PSK can still connect, so we'll allow
%defaultroute for RW with PSK for now.
+ # my $pskdisabled = ($vpnsettings{'VPN_IP'} eq '%defaultroute') ?
"disabled='disabled'" : '' ;
my $pskdisabled = '' ;
-# $cgiparams{'PSK'} = $Lang::tr{'vpn incompatible use of
defaultroute'} if ($pskdisabled);
+ $cgiparams{'PSK'} = $Lang::tr{'vpn incompatible use of defaultroute'}
if ($pskdisabled);
my $cakeydisabled = ( ! -f "/var/ipcop/private/cakey.pem" ) ?
"disabled='disabled'" : '';
$cgiparams{'CERT_NAME'} = $Lang::tr{'vpn no full pki'} if
($cakeydisabled);
my $cacrtdisabled = ( ! -f "/var/ipcop/ca/cacert.pem" ) ?
"disabled='disabled'" : '';
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn