ng_bpf(4) teaches to use tcpdump(1) to generate raw BPF instructions. However, the exact command line does not include '-p' option. This may activate promiscous mode on first ethernet interface, if any. This is not needed and should not happen. How-To-Repeat: Use example from bg_bpf(4) manual page and see pair of 'promiscuous mode enabled/promiscuous mode disabled' messages in the kernel log.
I'd say this is a bug in tcpdump(1), not a problem in the manual page. tcpdump(1) doesn't need an interface to process -d option. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
My PR.
A commit references this bug: Author: eugen Date: Fri Dec 14 09:24:14 UTC 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 Changes: head/share/man/man4/ng_bpf.4
A commit references this bug: Author: eugen Date: Mon Dec 17 06:58:12 UTC 2018 New revision: 342157 URL: https://svnweb.freebsd.org/changeset/base/342157 Log: MFC r342071: ng_bpf.4: fix EXAMPLES: do not activate promiscuous mode PR: 102719 Changes: _U stable/12/ stable/12/share/man/man4/ng_bpf.4
A commit references this bug: Author: eugen Date: Mon Dec 17 07:02:50 UTC 2018 New revision: 342158 URL: https://svnweb.freebsd.org/changeset/base/342158 Log: MFC r342071: ng_bpf.4: fix EXAMPLES: do not activate promiscuous mode PR: 102719 Changes: _U stable/11/ stable/11/share/man/man4/ng_bpf.4
A commit references this bug: Author: eugen Date: Mon Dec 17 07:03:37 UTC 2018 New revision: 342159 URL: https://svnweb.freebsd.org/changeset/base/342159 Log: MFC r342071: ng_bpf.4: fix EXAMPLES: do not activate promiscuous mode PR: 102719 Changes: _U stable/10/ stable/10/share/man/man4/ng_bpf.4