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:
parent
5edf8ab89b
commit
6f9f0feef9
@ -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,
|
||||
|
2267
sbin/ipfw/ipfw.c
2267
sbin/ipfw/ipfw.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user