mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
auth_check, faster authentication check while automatically refreshing diag_routes
This commit is contained in:
parent
ddd54e83f2
commit
60ba7c7642
@ -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";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user