From: Maniacikarus Date: Sun, 19 Oct 2008 15:03:32 +0000 (+0200) Subject: Readded arp and routing info X-Git-Tag: v2.3-rc1~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4507b3c217634bb1cc81ae70c6098c34d44f8bbe;p=ipfire-2.x.git Readded arp and routing info --- diff --git a/html/cgi-bin/netother.cgi b/html/cgi-bin/netother.cgi index b3814eafad..fa97ce4e3f 100644 --- a/html/cgi-bin/netother.cgi +++ b/html/cgi-bin/netother.cgi @@ -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 "
$output
\n"; + &Header::closebox(); + + &Header::openbox('100%', 'left', $Lang::tr{'arp table entries'}); + $output = `/sbin/ip neigh show`; + $output = &Header::cleanhtml($output,"y"); + print "
$output
\n"; + &Header::closebox(); &Header::closebigbox(); &Header::closepage();