Bug 46674

Summary: Wrong description of 'list' option for ipfw in the handbook.
Product: Documentation Reporter: Wayne M Barnes <wayne>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Wayne M Barnes 2003-01-01 21:30:01 UTC
	
	The handbook description of ipfw is wrong and useless for how to
ask ipfw to list the rules.  The handbook says:
8.4.4.2. Listing the IPFW rules

The syntax for this form of the command is:

ipfw [-a] [-t] [-N] l

Fix: 

The proper line is

ipfw [-a] [-t] [-N] list

	

add the word 'list' to your command line.
How-To-Repeat: 
Point your browser to:
       file:///usr/share/doc/handbook/firewalls.html
Comment 1 setantae 2003-01-02 11:13:05 UTC
On Wed, Jan 01, 2003 at 03:30:55PM -0600, Wayne wrote:

> The handbook description of ipfw is wrong and useless for how to
> ask ipfw to list the rules.  The handbook says:
> 8.4.4.2. Listing the IPFW rules
> 
> The syntax for this form of the command is:
> 
> ipfw [-a] [-t] [-N] l

{root@rhadamanth}-{~} # ipfw l | head -1
01000 allow ip from any to any via lo0

It's not useless, although I'll agree that it could be clearer.

Ceri
Comment 2 Ceri Davies freebsd_committer freebsd_triage 2003-01-02 11:15:43 UTC
Responsible Changed
From-To: freebsd-doc->ceri

"ipfw l" does work, but it's probably not as clear as "ipfw list", so 
I'll take care of changing this.
Comment 3 Ceri Davies freebsd_committer freebsd_triage 2003-01-23 23:40:03 UTC
Responsible Changed
From-To: ceri->freebsd-doc

Throw this back to the doc team.
Comment 4 dannyboy freebsd_committer freebsd_triage 2003-02-09 14:24:31 UTC
State Changed
From-To: open->closed

Changed, thanks.