diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/p3scan-pf/p3scan-pf.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/p3scan-pf/p3scan-pf.inc b/packages/p3scan-pf/p3scan-pf.inc index b7359b49..f9aa36c8 100644 --- a/packages/p3scan-pf/p3scan-pf.inc +++ b/packages/p3scan-pf/p3scan-pf.inc @@ -83,7 +83,7 @@ function sync_package_p3scan() { if ($cfg['targetip'] == "0.0.0.0") setup_transparency(); else - remove_transparency() + remove_transparency(); fwrite($fd, "targetip = {$cfg['targetip']}\n"); } else { setup_transparency(); @@ -331,6 +331,7 @@ function remove_transparency() { $p3scan_pf_result = mwexec ('pfctl -a "rdr-package/p3scan" -t p3scan -T flush'); if($havp_pf_result <> 0) { file_notice("P3SCAN", "There were error(s) flushing the exclude table", "P3SCAN", ""); + } } function setup_transparency() { |