From bc044625ede1a4b6362c0ecb0933b4a3136825f1 Mon Sep 17 00:00:00 2001 From: Eugene Grosbein Date: Fri, 14 Dec 2018 09:24:14 +0000 Subject: [PATCH] ng_bpf.4: fix EXAMPLES: do not activate promiscuous mode PR: 102719 MFC after: 3 days --- share/man/man4/ng_bpf.4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=[" ; \\