summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_routes.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-11 08:19:50 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-11 08:19:50 +0000
commit4fa5203f595c80e7f4f78e3671d91c32f73d7523 (patch)
tree3c9b04790b0027ac8f4271c363af30c00d706941 /usr/local/www/diag_routes.php
parentdf0e01885527fb2ac8cc70b3c6fae689172a5ee0 (diff)
downloadpfsense-4fa5203f595c80e7f4f78e3671d91c32f73d7523.zip
pfsense-4fa5203f595c80e7f4f78e3671d91c32f73d7523.tar.gz
Display non resolve entries automatically
Diffstat (limited to 'usr/local/www/diag_routes.php')
-rw-r--r--usr/local/www/diag_routes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/diag_routes.php b/usr/local/www/diag_routes.php
index ffe9061..30e4a25 100644
--- a/usr/local/www/diag_routes.php
+++ b/usr/local/www/diag_routes.php
@@ -66,7 +66,7 @@ include('head.inc');
</form>
<?php
-if ($_POST['submit'] == 'Show') {
+
$netstat = ($_POST['resolve'] == 'yes' ? 'netstat -rW' : 'netstat -nrW');
list($dummy, $internet, $internet6) = explode("\n\n", shell_exec($netstat));
@@ -99,7 +99,7 @@ if ($_POST['submit'] == 'Show') {
}
print("</table>\n");
}
-}
+
?>
</table>
OpenPOWER on IntegriCloud