From c0c9df130fbb3c5080755822d227277627605196 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 13 Sep 2011 20:44:48 +0200 Subject: [PATCH] Remove OpenVPN changes in index.cgi. --- html/cgi-bin/index.cgi | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi index 0ef95ba8c..b325250a5 100644 --- a/html/cgi-bin/index.cgi +++ b/html/cgi-bin/index.cgi @@ -390,25 +390,6 @@ END END } -### -# m.a.d n2n -### - -if ( -d "${General::swroot}/ovpn/n2nconf") { -my %confighash=(); -&General::readhasharray("${General::swroot}/ovpn/ovpnconfig", \%confighash); -foreach my $dkey (keys %confighash) { -if ($confighash{$dkey}[0] eq 'on' && $confighash{$dkey}[3] eq 'net') { -my @n2novpnet = split(/\//,$confighash{$dkey}[27]); - print <OpenVPN n2n
- $n2novpnet[0] - $confighash{$dkey}[6] -END -} -} - } - # Fireinfo if ( ! -e "/var/ipfire/main/send_profile") { $warnmessage .= "
  • $Lang::tr{'fireinfo please enable'}
  • "; -- 2.39.2