From anarcat@anarcat.ath.cx  Tue Sep  2 11:58:05 2003
Return-Path: <anarcat@anarcat.ath.cx>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DD54F16A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  2 Sep 2003 11:58:05 -0700 (PDT)
Received: from aeimail.aei.ca (aeimail.aei.ca [206.123.6.14])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C34BF43FAF
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  2 Sep 2003 11:58:04 -0700 (PDT)
	(envelope-from anarcat@anarcat.ath.cx)
Received: from shall.anarcat.ath.cx (83428ekjv9wp4o5m@dsl-133-58.aei.ca [66.36.133.58])
	by aeimail.aei.ca (8.11.6/8.10.1) with ESMTP id h82Iw2H06391
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 2 Sep 2003 14:58:03 -0400 (EDT)
Received: by shall.anarcat.ath.cx (Postfix, from userid 1000)
	id 3294F639; Tue,  2 Sep 2003 14:58:00 -0400 (EDT)
Message-Id: <20030902185800.3294F639@shall.anarcat.ath.cx>
Date: Tue,  2 Sep 2003 14:58:00 -0400 (EDT)
From: The Anarcat <anarcat@anarcat.ath.cx>
Reply-To: The Anarcat <anarcat@anarcat.ath.cx>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ipfw -c list not working
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56328
>Category:       bin
>Synopsis:       ipfw -c list not working
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    maxim
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 02 12:00:28 PDT 2003
>Closed-Date:    Sun Jan 18 00:48:14 PST 2004
>Last-Modified:  Sun Jan 18 00:48:14 PST 2004
>Originator:     The Anarcat
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD shall.anarcat.ath.cx 4.8-STABLE FreeBSD 4.8-STABLE #0: Wed Aug 13 16:46:04 EDT 2003 khadmin@shall.anarcat.ath.cx:/usr/obj/usr/src/sys/SHALL i386


	
>Description:

The ipfw(8) man page specifies that:

     -c      When entering or showing rules, print them in compact form, i.e.
             without the optional "ip from any to any" string when this does
             not carry any additional information.

But I can't use the option here.

>How-To-Repeat:

# ipfw -c list
ipfw: illegal option -- c

>Fix:

The real problem behind this is that the manpage doesn't document that the
-c option is available only in IPFW2.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->luigi 
Responsible-Changed-By: kris 
Responsible-Changed-When: Wed Oct 8 15:17:47 PDT 2003 
Responsible-Changed-Why:  
Assign to ipfw maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56328 
State-Changed-From-To: open->patched 
State-Changed-By: maxim 
State-Changed-When: Thu Jan 15 04:59:51 PST 2004 
State-Changed-Why:  
I have documented -c flag as ipfw2 feature in -CURRENT.  Thanks! 


Responsible-Changed-From-To: luigi->maxim 
Responsible-Changed-By: maxim 
Responsible-Changed-When: Thu Jan 15 04:59:51 PST 2004 
Responsible-Changed-Why:  
MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56328 
State-Changed-From-To: patched->closed 
State-Changed-By: maxim 
State-Changed-When: Sun Jan 18 00:47:54 PST 2004 
State-Changed-Why:  
Fixed in -STABLE as well. 

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