summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-09-09 15:18:04 -0400
committerjim-p <jimp@pfsense.org>2013-09-09 15:18:46 -0400
commitb841bc231924dcf536f955ac601cc3c61fa3e845 (patch)
tree70d2f0ef74f6a2fb2f6d8b8a117a91d680d86ad7
parent772e49cebd0c415a510f0af5d4a67c0ea25f068b (diff)
downloadpfsense-b841bc231924dcf536f955ac601cc3c61fa3e845.zip
pfsense-b841bc231924dcf536f955ac601cc3c61fa3e845.tar.gz
Fix errant display of "0 table deleted" during filter reload on console.
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index dc8da4f..b010d13 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -340,7 +340,7 @@ function filter_configure_sync($delete_states_if_needed = true) {
# If we are not using bogonsv6 then we can remove any bogonsv6 table from the running pf (if the table is not there, the kill is still fine).
if (!is_bogonsv6_used())
- $_grbg = exec("/sbin/pfctl -t bogonsv6 -T kill");
+ $_grbg = exec("/sbin/pfctl -t bogonsv6 -T kill 2>/dev/null");
update_filter_reload_status(gettext("Starting up layer7 daemon"));
layer7_start_l7daemon();
OpenPOWER on IntegriCloud