Bug 44400

Summary: ipfw(8) has contradictions in bridged and layer2 options description
Product: Documentation Reporter: Constantin Stefanov <cstef>
Component: Books & ArticlesAssignee: Ceri Davies <ceri>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Constantin Stefanov 2002-10-23 10:10:03 UTC
In ipfw(8) we read:
# packets from ether_demux or bdg_forward
ipfw add 10 skipto 1000 all from any to any layer2 in
..skipped...
(yes, at the moment there is no way to differentiate between ether_demux and bdg_forward).

But in RULE OPTIONS (MATCH PATTERNS) section:
bridged   Matches only bridged packets.
..
layer2  Matches only layer2 packets, i.e. those passed to ipfw from            ether_demux() and ether_output_frame().

After reading /usr/src/sbin/ipfw2.c I understood that layer2 and bridged are aliases. To make man page clearer it should be reflected in it.

How-To-Repeat: man 8 ipfw
Comment 1 Ceri Davies freebsd_committer freebsd_triage 2004-11-03 21:50:11 UTC
State Changed
From-To: open->patched

Patched in -HEAD, thanks. 


Comment 2 Ceri Davies freebsd_committer freebsd_triage 2004-11-03 21:50:11 UTC
Responsible Changed
From-To: freebsd-doc->ceri

My MFC reminder.
Comment 3 Ceri Davies freebsd_committer freebsd_triage 2004-11-08 19:10:48 UTC
State Changed
From-To: patched->closed

MFCd to RELENG_5.