diff options
-rw-r--r-- | etc/inc/filter.inc | 1 | ||||
-rwxr-xr-x | usr/local/www/diag_resetstate.php | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index c6fea3e..2f3871e 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -643,7 +643,6 @@ function filter_flush_nat_table() function filter_flush_state_table() { - global $config, $g; return mwexec("/sbin/pfctl -F state"); } diff --git a/usr/local/www/diag_resetstate.php b/usr/local/www/diag_resetstate.php index d9ba3b0..04819d0 100755 --- a/usr/local/www/diag_resetstate.php +++ b/usr/local/www/diag_resetstate.php @@ -43,6 +43,7 @@ ##|-PRIV require("guiconfig.inc"); +require_once("filter.inc"); if ($_POST) { $savemsg = ""; |