aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLutz Donnerhacke <donner@FreeBSD.org>2021-05-10 18:31:52 +0000
committerLutz Donnerhacke <donner@FreeBSD.org>2021-05-25 05:49:12 +0000
commit0f6a5de5c7f05ac7ed660459944118c9386b2f09 (patch)
treefb415a9cb2e7cdcae7b913eb60ced2e932d922f2
parentc988a558fafe7a361e448c26254d4832ec3fd1ff (diff)
downloadsrc-0f6a5de5c7f05ac7ed660459944118c9386b2f09.tar.gz
src-0f6a5de5c7f05ac7ed660459944118c9386b2f09.zip
ipfw.8: Fix table example
Fix some erronous lines in the example section. PR: 248943 Submitted by: Jose Luis Duran Reviewers: ae, manpages (gbe) Differential Revision: https://reviews.freebsd.org/D30191 (cherry picked from commit 802637be06457c7593692bdf79f8466fa5f54d4a)
-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 3f92bd4d759a..4cdd7b63849f 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -1,7 +1,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 21, 2019
+.Dd May 11, 2021
.Dt IPFW 8
.Os
.Sh NAME
@@ -4400,11 +4400,11 @@ Using the
.Cm fwd
action, the table entries may include hostnames and IP addresses.
.Pp
-.Dl "ipfw table T2 create type addr ftype ip"
+.Dl "ipfw table T2 create type addr valtype ipv4"
.Dl "ipfw table T2 add 192.168.2.0/24 10.23.2.1"
-.Dl "ipfw table T21 add 192.168.0.0/27 router1.dmz"
+.Dl "ipfw table T2 add 192.168.0.0/27 router1.dmz"
.Dl "..."
-.Dl "ipfw add 100 fwd tablearg ip from any to table(1)"
+.Dl "ipfw add 100 fwd tablearg ip from any to 'table(T2)'"
.Pp
In the following example per-interface firewall is created:
.Pp