Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2020 11:25:05 +0000 (UTC)
From:      Benedict Reuschling <bcr@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r360458 - head/share/man/man4
Message-ID:  <202004291125.03TBP52c033201@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 }" ; \\



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