diff options
author | kbyanc <kbyanc@FreeBSD.org> | 2002-12-23 20:08:21 +0000 |
---|---|---|
committer | kbyanc <kbyanc@FreeBSD.org> | 2002-12-23 20:08:21 +0000 |
commit | 9ac9c4ac0c352bd7527c4e2d11ce5b069ea22436 (patch) | |
tree | be88533dbd66cd557c578274f229db7be09dda73 /sbin/ipfw/ipfw.8 | |
parent | fccac156927434c5a1874f5b3dad773e7b73a744 (diff) | |
download | FreeBSD-src-9ac9c4ac0c352bd7527c4e2d11ce5b069ea22436.zip FreeBSD-src-9ac9c4ac0c352bd7527c4e2d11ce5b069ea22436.tar.gz |
Make preprocessor support more generic by passing all command-line options
after -p except for the last (the ruleset file to process) to the
preprocessor for interpretation. This allows command-line options besides
-U and -D to be passed to cpp(1) and m4(1) as well as making it easier to
use other preprocessors.
Sponsored By: NTT Multimedia Communications Labs
MFC after: 1 week
Diffstat (limited to 'sbin/ipfw/ipfw.8')
-rw-r--r-- | sbin/ipfw/ipfw.8 | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8 index 7fb8272..1d07fcd 100644 --- a/sbin/ipfw/ipfw.8 +++ b/sbin/ipfw/ipfw.8 @@ -51,10 +51,9 @@ .Op Fl q .Oo .Fl p Ar preproc -.Oo Fl D -.Ar macro Ns Op = Ns Ar value +.Oo +.Ar preproc-flags .Oc -.Op Fl U Ar macro .Oc .Ar pathname .Sh DESCRIPTION @@ -289,11 +288,8 @@ file systems are mounted (yet) by the time is being run (e.g. when they are mounted over NFS). Once .Fl p -has been specified, optional -.Fl D -and -.Fl U -specifications can follow and will be passed on to the preprocessor. +has been specified, any additional arguments as passed on to the preprocessor +for interpretation. This allows for flexible configuration files (like conditionalizing them on the local hostname) and the use of macros to centralize frequently required arguments like IP addresses. |