From 0eacb3b250d5512f3ab877b92629eb92042fea41 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 10 Mar 2006 22:25:30 +0000 Subject: MFC Diagnostics -> Routes --- usr/local/www/diag_routes.php | 112 ++++++++++++++++++++++++++++++++++++++++++ usr/local/www/fbegin.inc | 1 + 2 files changed, 113 insertions(+) create mode 100644 usr/local/www/diag_routes.php (limited to 'usr/local/www') diff --git a/usr/local/www/diag_routes.php b/usr/local/www/diag_routes.php new file mode 100644 index 0000000..df1ca9c --- /dev/null +++ b/usr/local/www/diag_routes.php @@ -0,0 +1,112 @@ + + + +

+ + + +
+
+ + + + + + + + + + + +
Name resolution +>Enable +
+Enable this to attempt to resolve names when displaying the tables. +
  + +
+
+Note:By enabling name resolution, the query should take a bit longer. You can stop it at any time by clicking the Stop button in your browser. +
+
+ + $table) { + $elements = ($tabindex == 0 ? 8 : 8); + $name = ($tabindex == 0 ? 'IPv4' : 'IPv6'); +?> + + + $line) { + if ($i == 0) continue; + + if ($i == 1) + $class = 'listhdrr'; + else + $class = 'listr'; + + print("\n"); + $j = 0; + foreach (explode(' ', $line) as $entry) { + if ($entry == '') continue; + print("\n"); + $j++; + } + // The 'Expire' field might be blank + if ($j == $elements - 1) + print('' . "\n"); + print("\n"); + } + print("
$entry 
\n"); + } +} +?> + + +
+ + diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc index d2d389c..8d81b9b 100755 --- a/usr/local/www/fbegin.inc +++ b/usr/local/www/fbegin.inc @@ -203,6 +203,7 @@ require_once("notices.inc");
  • Halt system
  • Ping
  • Reboot system
  • +
  • Routes
  • States
  • Traceroute
  • -- cgit v1.1