Bug 117172

Summary: [ patch ] fix one of the table lookup examples
Product: Documentation Reporter: Roman Bogorodskiy <novel>
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
ipfw_8_pipe.diff none

Description Roman Bogorodskiy freebsd_committer freebsd_triage 2007-10-14 06:40:00 UTC
	In the 'LOOKUP TABLES' example the following scenario is described:

  	   ipfw pipe 1 config bw 1000Kbyte/s
           ipfw pipe 4 config bw 4000Kbyte/s
           ...
           ipfw table 1 add 192.168.2.0/24 1
           ipfw table 1 add 192.168.0.0/27 4
           ipfw table 1 add 192.168.0.2 1
           ...
           ipfw pipe tablearg ip from table(1) to any

	However, the last command is wrong because it's aimed to be
	a rule and the rule should be added using 'add' keyword. So
	the command should look like:
	
	   ipfw add pipe tablearg ip from table(1) to any
Comment 1 Maxim Konovalov freebsd_committer freebsd_triage 2007-10-14 10:12:48 UTC
State Changed
From-To: open->patched

Fixed in HEAD.  Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-10-14 10:12:55 UTC
maxim       2007-10-14 09:12:46 UTC

  FreeBSD src repository

  Modified files:
    sbin/ipfw            ipfw.8 
  Log:
  o Fix a typo in ipfw table usage example.
  
  PR:             docs/117172
  Submitted by:   novel
  MFC after:      1 week
  
  Revision  Changes    Path
  1.204     +1 -1      src/sbin/ipfw/ipfw.8
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Maxim Konovalov freebsd_committer freebsd_triage 2007-11-29 18:38:22 UTC
State Changed
From-To: patched->closed

Merged to RELENG_7.