From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH] netother.cgi: show content of routing table 220 Date: Sat, 07 Mar 2020 18:46:00 +0000 Message-ID: <45750d21-4ee6-4269-c2b5-56ef4e75c259@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5257388371118910772==" List-Id: --===============5257388371118910772== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Since IPsec routing information do not show up in the normal routing table, also displaying the contents of table 220 on netother.cgi might be useful for debugging purposes. Signed-off-by: Peter Müller --- html/cgi-bin/netother.cgi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/html/cgi-bin/netother.cgi b/html/cgi-bin/netother.cgi index dde1b603a..ac02b8148 100644 --- a/html/cgi-bin/netother.cgi +++ b/html/cgi-bin/netother.cgi @@ -79,6 +79,12 @@ if ( $querry[0] =~ "fwhits"){ print "
$output
\n"; &Header::closebox(); + &Header::openbox('100%', 'left', "$Lang::tr{'routing table entries'} 220"); + $output = `/sbin/ip route list table 220`; + $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"); -- 2.16.4 --===============5257388371118910772==--