]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/logs.cgi/log.dat
HinzugefĆ¼gt:
[ipfire-2.x.git] / html / cgi-bin / logs.cgi / log.dat
index 87701ad4487ad642c53147f2e9a3ba302bfe0b9c..854bad4688a2c649a4e746520efe850ce1239380 100644 (file)
@@ -45,10 +45,10 @@ my $year = $now[5]+1900;
 $cgiparams{'DAY'} = $now[3];
 $cgiparams{'MONTH'} = $now[4];
 $cgiparams{'ACTION'} = '';
-$cgiparams{'SECTION'} = 'ipcop';
+$cgiparams{'SECTION'} = 'ipfire';
 
 my %sections = (
-        'ipcop' => '(ipcop)',
+        'ipfire' => '(ipfire)',
         'red' => '(red.*|kernel: usb.*|pppd\[.*\]|chat\[.*\]|pppoe\[.*\]|pptp\[.*\]|pppoa\[.*\]|pppoa3\[.*\]|pppoeci\[.*\]|ipppd|ipppd\[.*\]|kernel: ippp\d|kernel: isdn.*|ibod\[.*\]|kernel: eth.*|dhcpcd\[.*\]|modem_run\[.*\])',
         'dns' => '(dnsmasq\[.*\])',
         'dhcp' => '(dhcpd)',
@@ -59,12 +59,13 @@ my %sections = (
         'kernel' => '(kernel)',
         'ipsec' => '(ipsec_[\w_]+|pluto\[.*\])',
         'snort' => '(snort)',
+        'openvpn' => '(openvpnserver)\[.*\]',
         'installpackage' => '(installpackage\[.*\])'
         );
 
 # Translations for the %sections array.
 my %trsections = (
-        'ipcop' => 'IPCop',
+        'ipfire' => 'IPFire',
         'red' => 'RED',
         'dns' => 'DNS',
         'dhcp' => "$Lang::tr{'dhcp server'}",
@@ -74,6 +75,7 @@ my %trsections = (
         'auth' => "$Lang::tr{'loginlogout'}",
         'kernel' => "$Lang::tr{'kernel'}",
         'ipsec' => 'IPSec',
+        'openvpn' => 'OpenVPN',
         'snort' => 'Snort',
         'installpackage' => "$Lang::tr{'update transcript'}"   
        );
@@ -229,7 +231,7 @@ while ($gzindex >=0 && $loop) {
 if ($cgiparams{'ACTION'} eq $Lang::tr{'export'})
 {
        print "Content-type: text/plain\n\n";
-       print "IPCop diagnostics\r\n";
+       print "IPFire diagnostics\r\n";
        print "$Lang::tr{'section'}: $cgiparams{'SECTION'}\n";
        print "$Lang::tr{'date'}: $date\r\n\r\n";
 
@@ -350,8 +352,8 @@ print <<END
 <table width='100%'>
 <tr>
        <td width='10%' align='center' class='boldbase'><b>$Lang::tr{'time'}</b></td>
-       <td width='15%' align='center' class='boldbase'><b>$Lang::tr{'section'}</b></td>
-       <td width='75%'>&nbsp;</td>
+       <td width='10%' align='center' class='boldbase'><b>$Lang::tr{'section'}</b></td>
+       <td width='80%'>&nbsp;</td>
 </tr>
 END
 ;