X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=html%2Fcgi-bin%2Fnetother.cgi;h=e09fe8a9a200d93bc9b13a8cb1e37aee28be3e5d;hb=80508b5fe2699f85686b60e3b5264232f5d0d71c;hp=52da9c8b79a072b615a0970316348e24c4c7382b;hpb=5dcc7ad75483fec9889d05213da1eaf355f9f0ad;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/html/cgi-bin/netother.cgi b/html/cgi-bin/netother.cgi index 52da9c8b79..e09fe8a9a2 100644 --- a/html/cgi-bin/netother.cgi +++ b/html/cgi-bin/netother.cgi @@ -44,7 +44,7 @@ $querry[1] = 'hour' unless defined $querry[1]; if ( $querry[0] =~ "fwhits"){ print "Content-type: image/png\n\n"; binmode(STDOUT); - &Graphs::updatefwhitsgraph($querry[0],$querry[1]); + &Graphs::updatefwhitsgraph($querry[1]); }elsif ( $querry[0] ne ""){ print "Content-type: image/png\n\n"; binmode(STDOUT); @@ -71,6 +71,20 @@ if ( $querry[0] =~ "fwhits"){ &Graphs::makegraphbox("netother.cgi","fwhits","day"); &Header::closebox(); + my $output = ''; + + &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(); }