1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

ng_bpf.4: fix EXAMPLES: do not activate promiscuous mode

PR:		102719
MFC after:	3 days
This commit is contained in:
Eugene Grosbein 2018-12-14 09:24:14 +00:00
parent 3fa18dc335
commit bc044625ed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342071

View File

@ -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=[" ; \\