NetBSD Problem Report #51162

From www@NetBSD.org  Tue May 24 00:18:08 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 080367A476
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 24 May 2016 00:18:08 +0000 (UTC)
Message-Id: <20160524001807.19CE27A478@mollari.NetBSD.org>
Date: Tue, 24 May 2016 00:18:07 +0000 (UTC)
From: misc@zarb.org
Reply-To: misc@zarb.org
To: gnats-bugs@NetBSD.org
Subject: Typo in npfctl(8)
X-Send-Pr-Version: www-1.0

>Number:         51162
>Category:       misc
>Synopsis:       Typo in npfctl(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 24 00:20:00 +0000 2016
>Closed-Date:    Tue May 24 05:47:10 +0000 2016
>Last-Modified:  Tue May 24 05:50:00 +0000 2016
>Originator:     Michael Scherer
>Release:        7.0
>Organization:
None
>Environment:
NetBSD netbsd.example.org 7.0 NetBSD 7.0 (GENERIC.201509250726Z) amd64

>Description:
There is a error in the man page of npfctl:

 save    Save the active configuration and a spanshot of the current connections.

I suspect this is "snapshot" and not spanshot.
>How-To-Repeat:
Run man npfctl, and search for "save" action.
>Fix:
Apply this patch (hope that's ok to paste it here, I am a bit rusty with CVS) :

Index: npfctl/npfctl.8
===================================================================
RCS file: /cvsroot/src/usr.sbin/npf/npfctl/npfctl.8,v
retrieving revision 1.17
diff -u -r1.17 npfctl.8
--- npfctl/npfctl.8	3 Aug 2014 00:02:56 -0000	1.17
+++ npfctl/npfctl.8	24 May 2016 00:15:17 -0000
@@ -138,7 +138,7 @@
 This operation is expensive and should be used with caution.
 .\" ---
 .It Ic save
-Save the active configuration and a spanshot of the current connections.
+Save the active configuration and a snapshot of the current connections.
 The data will be stored in the
 .Pa /var/db/npf.db
 file.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 24 May 2016 05:47:10 +0000
State-Changed-Why:
Committed, thanks!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/51162 CVS commit: src/usr.sbin/npf/npfctl
Date: Tue, 24 May 2016 05:46:57 +0000

 Module Name:	src
 Committed By:	wiz
 Date:		Tue May 24 05:46:57 UTC 2016

 Modified Files:
 	src/usr.sbin/npf/npfctl: npfctl.8

 Log Message:
 Fix typo. From Michael Scherer in PR 51162.


 To generate a diff of this commit:
 cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/npf/npfctl/npfctl.8

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.