summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2017-05-21 23:54:50 +0200
committerPiBa-NL <pba_2k3@yahoo.com>2017-05-21 23:54:50 +0200
commit60ba7c7642036deb1001f1862e5c19d465fbdf74 (patch)
treec937f68f42a0b76f7ecd516dd9ae13a7f3e2f10a /src
parentddd54e83f28d324a14a13f3f75564e5b53d53c8c (diff)
downloadpfsense-60ba7c7642036deb1001f1862e5c19d465fbdf74.zip
pfsense-60ba7c7642036deb1001f1862e5c19d465fbdf74.tar.gz
auth_check, faster authentication check while automatically refreshing diag_routes
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/diag_routes.php5
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";
OpenPOWER on IntegriCloud