Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2018 09:24:14 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r342071 - head/share/man/man4
Message-ID:  <201812140924.wBE9OE0Q030195@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eugen
Date: Fri Dec 14 09:24:14 2018
New Revision: 342071
URL: https://svnweb.freebsd.org/changeset/base/342071

Log:
  ng_bpf.4: fix EXAMPLES: do not activate promiscuous mode
  
  PR:		102719
  MFC after:	3 days

Modified:
  head/share/man/man4/ng_bpf.4

Modified: head/share/man/man4/ng_bpf.4
==============================================================================
--- head/share/man/man4/ng_bpf.4	Fri Dec 14 09:06:56 2018	(r342070)
+++ head/share/man/man4/ng_bpf.4	Fri Dec 14 09:24:14 2018	(r342071)
@@ -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=[" ; \\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812140924.wBE9OE0Q030195>