Bug 134100

Summary: [patch] Incorrect control messages in ng_hole(4) manpage
Product: Documentation Reporter: Eugene Mychlo <myc>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Eugene Mychlo 2009-04-29 21:00:11 UTC
The ng_hole(4) manpage states that hole node type supports NGM_BPF_* control messages, but isn't correct.

Fix: Patch attached with submission follows:
Comment 1 Maxim Konovalov freebsd_committer freebsd_triage 2009-04-30 11:01:26 UTC
State Changed
From-To: open->patched

Fixed in HEAD.  Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-04-30 11:01:29 UTC
Author: maxim
Date: Thu Apr 30 10:01:13 2009
New Revision: 191682
URL: http://svn.freebsd.org/changeset/base/191682

Log:
  o Correct ng_hole(4) control messages names.
  
  PR:		docs/134100
  Submitted by:	Eugene Mychlo
  MFC after:	1 week

Modified:
  head/share/man/man4/ng_hole.4

Modified: head/share/man/man4/ng_hole.4
==============================================================================
--- head/share/man/man4/ng_hole.4	Thu Apr 30 07:48:49 2009	(r191681)
+++ head/share/man/man4/ng_hole.4	Thu Apr 30 10:01:13 2009	(r191682)
@@ -58,20 +58,20 @@ as long as the name is unique.
 This node type supports the generic control messages, plus the
 following:
 .Bl -tag -width indent
-.It Dv NGM_BPF_GET_STATS
+.It Dv NGM_HOLE_GET_STATS
 This command takes an
 .Tn ASCII
 string argument, the hook name, and returns the statistics
 associated with the hook as a
 .Vt "struct ng_hole_hookstat" .
-.It Dv NGM_BPF_CLR_STATS
+.It Dv NGM_HOLE_CLR_STATS
 This command takes an
 .Tn ASCII
 string argument, the hook name, and clears the statistics
 associated with the hook.
-.It Dv NGM_BPF_GETCLR_STATS
+.It Dv NGM_HOLE_GETCLR_STATS
 This command is identical to
-.Dv NGM_BPF_GET_STATS ,
+.Dv NGM_HOLE_GET_STATS ,
 except that the statistics are also atomically cleared.
 .El
 .Sh SHUTDOWN
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 3 Maxim Konovalov freebsd_committer freebsd_triage 2009-05-25 11:13:15 UTC
State Changed
From-To: patched->closed

Merged to RELENG_7.