diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2017-05-21 23:54:50 +0200 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2017-05-21 23:54:50 +0200 |
commit | 60ba7c7642036deb1001f1862e5c19d465fbdf74 (patch) | |
tree | c937f68f42a0b76f7ecd516dd9ae13a7f3e2f10a /src/usr/local | |
parent | ddd54e83f28d324a14a13f3f75564e5b53d53c8c (diff) | |
download | pfsense-60ba7c7642036deb1001f1862e5c19d465fbdf74.zip pfsense-60ba7c7642036deb1001f1862e5c19d465fbdf74.tar.gz |
auth_check, faster authentication check while automatically refreshing diag_routes
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/diag_routes.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_routes.php b/src/usr/local/www/diag_routes.php index 13bd65d..3561cd8 100644 --- a/src/usr/local/www/diag_routes.php +++ b/src/usr/local/www/diag_routes.php @@ -27,12 +27,12 @@ ##|*MATCH=diag_routes.php* ##|-PRIV -require_once('guiconfig.inc'); - $limit = '100'; $filter = ''; if (isset($_REQUEST['isAjax'])) { + require_once('auth_check.inc'); + $netstat = "/usr/bin/netstat -rW"; if (isset($_REQUEST['IPv6'])) { $netstat .= " -f inet6"; @@ -61,6 +61,7 @@ if (isset($_REQUEST['isAjax'])) { exit; } +require_once('guiconfig.inc'); $pgtitle = array(gettext("Diagnostics"), gettext("Routes")); $shortcut_section = "routing"; |