summaryrefslogtreecommitdiffstats
path: root/etc/inc/filter.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-03-01 23:40:32 +0000
committerErmal <eri@pfsense.org>2011-03-01 23:40:32 +0000
commit05c4bfa003a5013af31dcd3a59a20a682c93fb8f (patch)
tree745ed0484e3d45d2ce4a4172fde22dcb1343d67f /etc/inc/filter.inc
parentc84876040a6669f5cb01c3772e861ba2084110f5 (diff)
downloadpfsense-05c4bfa003a5013af31dcd3a59a20a682c93fb8f.zip
pfsense-05c4bfa003a5013af31dcd3a59a20a682c93fb8f.tar.gz
Pass the -a parameters to pgrep to be certain we search ancestors as well. The side effects might be inoquos from the pfSense context.
Diffstat (limited to 'etc/inc/filter.inc')
-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 5f721ff..e0ddd9a 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -124,7 +124,7 @@ function filter_pflog_start() {
}
mute_kernel_msgs();
$output = 0;
- exec("/bin/pgrep -f 'tcpdump -s 256 -v -l -n -e -ttt -i pflog0'", $output, $retval);
+ exec("/bin/pgrep -af 'tcpdump -s 256 -v -l -n -e -ttt -i pflog0'", $output, $retval);
if($retval != 0)
mwexec_bg("/usr/sbin/tcpdump -s 256 -v -l -n -e -ttt -i pflog0 | logger -t pf -p local0.info");
unmute_kernel_msgs();
OpenPOWER on IntegriCloud