svn commit: r360458 - head/share/man/man4
Benedict Reuschling
bcr at FreeBSD.org
Wed Apr 29 11:25:05 UTC 2020
Author: bcr (doc committer)
Date: Wed Apr 29 11:25:04 2020
New Revision: 360458
URL: https://svnweb.freebsd.org/changeset/base/360458
Log:
When copying and pasting the code in the EXAMPLE
section, it would result in the following error:
"ngctl: send msg: Invalid argument"
The reason for this is the missing whitespace to
separate the arguments. When adding the whitespace,
the example works as intended.
Submitted by: lutz_donnerhacke.de
Approved by: bcr
Differential Revision: https://reviews.freebsd.org/D23773
Modified:
head/share/man/man4/ng_bpf.4
Modified: head/share/man/man4/ng_bpf.4
==============================================================================
--- head/share/man/man4/ng_bpf.4 Wed Apr 29 10:57:21 2020 (r360457)
+++ head/share/man/man4/ng_bpf.4 Wed Apr 29 11:25:04 2020 (r360458)
@@ -35,7 +35,7 @@
.\" $FreeBSD$
.\" $Whistle: ng_bpf.8,v 1.2 1999/12/03 01:57:12 archie Exp $
.\"
-.Dd November 13, 2012
+.Dd April 29, 2020
.Dt NG_BPF 4
.Os
.Sh NAME
@@ -158,7 +158,7 @@ NOTMATCHHOOK="hook3"
BPFPROG=$( tcpdump -s 8192 -p -ddd ${PATTERN} | \\
( read len ; \\
- echo -n "bpf_prog_len=$len" ; \\
+ echo -n "bpf_prog_len=$len " ; \\
echo -n "bpf_prog=[" ; \\
while read code jt jf k ; do \\
echo -n " { code=$code jt=$jt jf=$jf k=$k }" ; \\
More information about the svn-src-head
mailing list