diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2004-02-18 15:56:53 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2004-02-18 15:56:53 +0000 |
commit | 4a80a9f04177ddab5edf74e5aaa0de6198176414 (patch) | |
tree | 9994247b6da497026a3bd774e7b08b094b7b82ef /sbin/ip6fw/ip6fw.8 | |
parent | 7e0166bc79e42c709872f50e52e4fd7b128fc89b (diff) | |
download | FreeBSD-src-4a80a9f04177ddab5edf74e5aaa0de6198176414.zip FreeBSD-src-4a80a9f04177ddab5edf74e5aaa0de6198176414.tar.gz |
Add a -n option that stops ip6fw making any changes to the rules
in the kernel.
Submitted by: Orla McGann <orly@redbrick.dcu.ie>
MFC after: 3 weeks
Diffstat (limited to 'sbin/ip6fw/ip6fw.8')
-rw-r--r-- | sbin/ip6fw/ip6fw.8 | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sbin/ip6fw/ip6fw.8 b/sbin/ip6fw/ip6fw.8 index 2e4c777..c036c23 100644 --- a/sbin/ip6fw/ip6fw.8 +++ b/sbin/ip6fw/ip6fw.8 @@ -38,7 +38,7 @@ .Nd controlling utility for IPv6 firewall .Sh SYNOPSIS .Nm -.Op Fl q +.Op Fl nq .Oo .Fl p Ar preproc .Oo Fl D @@ -48,13 +48,15 @@ .Oc .Ar pathname .Nm +.Op Fl n .Op Fl f | Fl q flush .Nm -.Op Fl q +.Op Fl nq zero .Op Ar number ... .Nm +.Op Fl n delete .Ar number ... .Nm @@ -66,7 +68,7 @@ list show .Op Ar number ... .Nm -.Op Fl q +.Op Fl nq add .Op Ar number .Ar action @@ -181,6 +183,9 @@ Don't ask for confirmation for commands that can cause problems if misused (ie; flush). .Ar Note , if there is no tty associated with the process, this is implied. +.It Fl n +Only check syntax of the command strings, +without actually passing them into the kernel. .It Fl q While adding, zeroing or flushing, be quiet about actions (implies '-f'). This is useful for adjusting rules by executing multiple ip6fw commands in a |