Invert the meaning of the -d option (i.e. default to *not* list dynamic rules,

but list them if -d was specified).

Avoid listing expired dynamic rules unless the (new) -e option was specified.

If specific rule numbers were listed on the command line, and the -d flag was
specified, only list dynamic rules that match the specified rule numbers.

Try to partly clean up the bleeding mess this file has become.  If there is
any justice in this world, the responsible parties (you know who you are!)
should expect to wake up one morning with a horse's head in their bed.  The
code still looks like spaghetti, but at least now it's *properly intented*
spaghetti (hmm?  did somebody say "tagliatelle"?).
This commit is contained in:
des 2001-06-04 23:56:26 +00:00
parent 5edf8ab89b
commit 6f9f0feef9
2 changed files with 1160 additions and 1119 deletions

View File

@ -1,12 +1,12 @@
.\"
.\" $FreeBSD$
.\"
.Dd February 16, 2000
.Dd May 31, 2001
.Dt IPFW 8
.Os FreeBSD
.Sh NAME
.Nm ipfw
.Nd controlling utility for IP firewall and traffic shaper
.Nd IP firewall and traffic shaper control program
.Sh SYNOPSIS
.Nm
.Op Fl q
@ -28,7 +28,7 @@
.Op Ar number ...
.Nm
.Op Fl s Op Ar field
.Op Fl adftN
.Op Fl adeftN
.Es \&{ \&}
.En Cm list | show
.Op Ar number ...
@ -154,7 +154,11 @@ See also the
.Cm show
command.
.It Fl d
While listing, do not print the dynamic rules.
While listing, show dynamic rules in addition to static ones.
.It Fl e
While listing, if the
.Fl d
option was specified, also show expired dynamic rules.
.It Fl f
Don't ask for confirmation for commands that can cause problems
if misused,

File diff suppressed because it is too large Load Diff