diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-11 08:19:50 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-11 08:19:50 +0000 |
commit | 4fa5203f595c80e7f4f78e3671d91c32f73d7523 (patch) | |
tree | 3c9b04790b0027ac8f4271c363af30c00d706941 | |
parent | df0e01885527fb2ac8cc70b3c6fae689172a5ee0 (diff) | |
download | pfsense-4fa5203f595c80e7f4f78e3671d91c32f73d7523.zip pfsense-4fa5203f595c80e7f4f78e3671d91c32f73d7523.tar.gz |
Display non resolve entries automatically
-rw-r--r-- | usr/local/www/diag_routes.php | 4 |
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> |