aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2018-12-14 09:24:14 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2018-12-14 09:24:14 +0000
commitbc044625ede1a4b6362c0ecb0933b4a3136825f1 (patch)
tree2763efcf9fa25e705366cbfd4fe99f7d923c2c1d
parent3fa18dc3358ae51f73799a604785db453bd65629 (diff)
downloadsrc-bc044625ede1a4b6362c0ecb0933b4a3136825f1.tar.gz
src-bc044625ede1a4b6362c0ecb0933b4a3136825f1.zip
ng_bpf.4: fix EXAMPLES: do not activate promiscuous mode
PR: 102719 MFC after: 3 days
Notes
Notes: svn path=/head/; revision=342071
-rw-r--r--share/man/man4/ng_bpf.42
1 files changed, 1 insertions, 1 deletions
diff --git a/share/man/man4/ng_bpf.4 b/share/man/man4/ng_bpf.4
index 0edb4996aeec..ad0834475b2a 100644
--- a/share/man/man4/ng_bpf.4
+++ b/share/man/man4/ng_bpf.4
@@ -156,7 +156,7 @@ INHOOK="hook1"
MATCHHOOK="hook2"
NOTMATCHHOOK="hook3"
-BPFPROG=$( tcpdump -s 8192 -ddd ${PATTERN} | \\
+BPFPROG=$( tcpdump -s 8192 -p -ddd ${PATTERN} | \\
( read len ; \\
echo -n "bpf_prog_len=$len" ; \\
echo -n "bpf_prog=[" ; \\