aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedict Reuschling <bcr@FreeBSD.org>2020-04-29 11:25:04 +0000
committerBenedict Reuschling <bcr@FreeBSD.org>2020-04-29 11:25:04 +0000
commitb4e0f40c8515c11c86fc45c23f55b11de2e61e05 (patch)
treec500707c1a5e4098e800171d77887386c2041b57
parentb19042cb01ab8c286fb8997e007426032a1cc3f5 (diff)
downloadsrc-b4e0f40c8515c11c86fc45c23f55b11de2e61e05.tar.gz
src-b4e0f40c8515c11c86fc45c23f55b11de2e61e05.zip
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
Notes
Notes: svn path=/head/; revision=360458
-rw-r--r--share/man/man4/ng_bpf.44
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man4/ng_bpf.4 b/share/man/man4/ng_bpf.4
index ad0834475b2a..4ee40ffcf39a 100644
--- a/share/man/man4/ng_bpf.4
+++ b/share/man/man4/ng_bpf.4
@@ -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 }" ; \\