Readded arp and routing info

This commit is contained in:
Maniacikarus
2008-10-19 17:03:32 +02:00
parent 027306bfe5
commit 4507b3c217

View File

@@ -70,6 +70,18 @@ if ( $querry[0] =~ "fwhits"){
&Header::openbox('100%', 'center', "Firewall Hits $Lang::tr{'graph'}");
&Graphs::makegraphbox("netother.cgi","fwhits","day");
&Header::closebox();
&Header::openbox('100%', 'left', $Lang::tr{'routing table entries'});
$output = `/sbin/ip route show`;
$output = &Header::cleanhtml($output,"y");
print "<pre>$output</pre>\n";
&Header::closebox();
&Header::openbox('100%', 'left', $Lang::tr{'arp table entries'});
$output = `/sbin/ip neigh show`;
$output = &Header::cleanhtml($output,"y");
print "<pre>$output</pre>\n";
&Header::closebox();
&Header::closebigbox();
&Header::closepage();