summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Konovalov <maxim@FreeBSD.org>2003-06-23 07:48:32 +0000
committerMaxim Konovalov <maxim@FreeBSD.org>2003-06-23 07:48:32 +0000
commit064d54a2480a257586fcf0f9b5a00858ccc44a2b (patch)
tree77209be4d48ca5e03ce11ccd3edc59ecd4e20a3f
parent2582fc45ec2a013ecace981dbcaf7c929e2ec560 (diff)
Notes
-rw-r--r--sbin/ipfw/ipfw.88
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8
index f63f78815801..42d1956314df 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -2015,9 +2015,9 @@ on a net with per-host limits, rather than per-network limits:
.Ss SETS OF RULES
To add a set of rules atomically, e.g. set 18:
.Pp
-.Dl "ipfw disable set 18"
+.Dl "ipfw set disable 18"
.Dl "ipfw add NN set 18 ... # repeat as needed"
-.Dl "ipfw enable set 18"
+.Dl "ipfw set enable 18"
.Pp
To delete a set of rules atomically the command is simply:
.Pp
@@ -2025,9 +2025,9 @@ To delete a set of rules atomically the command is simply:
.Pp
To test a ruleset and disable it and regain control if something goes wrong:
.Pp
-.Dl "ipfw disable set 18"
+.Dl "ipfw set disable 18"
.Dl "ipfw add NN set 18 ... # repeat as needed"
-.Dl "ipfw enable set 18 ; echo done; sleep 30 && ipfw disable set 18"
+.Dl "ipfw set enable 18; echo done; sleep 30 && ipfw set disable 18"
.Pp
Here if everything goes well, you press control-C before the "sleep"
terminates, and your ruleset will be left active. Otherwise, e.g. if