From nobody@FreeBSD.org  Sat May 22 23:32:44 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D077A16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 22 May 2004 23:32:44 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C996243D1D
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 22 May 2004 23:32:44 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i4N6Wi1Y084688
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 22 May 2004 23:32:44 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i4N6Wijw084687;
	Sat, 22 May 2004 23:32:44 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200405230632.i4N6Wijw084687@www.freebsd.org>
Date: Sat, 22 May 2004 23:32:44 -0700 (PDT)
From: David Syphers <dsyphers@oddjob.uchicago.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] error in ipfw man page example of addr:mask syntax
X-Send-Pr-Version: www-2.3

>Number:         67065
>Category:       docs
>Synopsis:       [patch] error in ipfw man page example of addr:mask syntax
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 22 23:40:23 PDT 2004
>Closed-Date:    Sun May 23 12:07:11 PDT 2004
>Last-Modified:  Sun May 23 12:07:11 PDT 2004
>Originator:     David Syphers
>Release:        5-CURRENT
>Organization:
>Environment:
FreeBSD yggdrasil.seektruth.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sat May 22 12:18:29 PDT 2004     root@yggdrasil.seektruth.org:/usr/obj/usr/src/sys/YGGDRASIL  i386
>Description:
     The ipfw(8) man page has an error in an example. It uses the form "1.2.3.4/255.0.255.0" (addr/netmask) when in fact that syntax is for addr/masklen. The correct syntax is 1.2.3.4:255.0.255.0 (addr:mask).
>How-To-Repeat:
      Read ifpw(8) and try to use the example like I did  :)
>Fix:
      Patch for $FreeBSD: src/sbin/ipfw/ipfw.8,v 1.143 2004/04/23 14:28:38 andre Exp $

diff -u /usr/src/sbin/ipfw/ipfw.8 ipfw.8
--- /usr/src/sbin/ipfw/ipfw.8   Thu May 13 20:37:42 2004
+++ ipfw.8      Sat May 22 23:21:07 2004
@@ -788,7 +788,7 @@
 and the mask of
 .Ar mask ,
 specified as a dotted quad.
-As an example, 1.2.3.4/255.0.255.0 will match
+As an example, 1.2.3.4:255.0.255.0 will match
 1.*.3.*.
 This form is advised only for non-contiguous
 masks. It is better to resort to the
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Sun May 23 12:06:38 PDT 2004 
State-Changed-Why:  
Fixed in -CURRENT, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=67065 
>Unformatted:
