Do not call mute_kernel_msgs() it causes havoc.

This commit is contained in:
Scott Ullrich 2009-07-07 15:38:16 -04:00
parent d97809baf3
commit 102b2d8ab4

View File

@ -53,14 +53,10 @@ function filter_pflog_start() {
echo "filter_pflog_start() being called $mt\n";
}
mute_kernel_msgs();
$pid = `ps awwwux | grep -v "grep" | grep "tcpdump -s 256 -v -l -n -e -ttt -i pflog0" | awk '{ print $2 }'`;
if(!$pid)
mwexec_bg("/usr/sbin/tcpdump -s 256 -v -l -n -e -ttt -i pflog0 | logger -t pf -p local0.info");
unmute_kernel_msgs();
}
/* reload filter async */