Date: Tue, 11 May 2021 15:40:32 GMT From: Lutz Donnerhacke <donner@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 802637be0645 - main - ipfw.8: Fix table example Message-ID: <202105111540.14BFeWG9098032@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by donner: URL: https://cgit.FreeBSD.org/src/commit/?id=802637be06457c7593692bdf79f8466fa5f54d4a commit 802637be06457c7593692bdf79f8466fa5f54d4a Author: Lutz Donnerhacke <donner@FreeBSD.org> AuthorDate: 2021-05-10 18:31:52 +0000 Commit: Lutz Donnerhacke <donner@FreeBSD.org> CommitDate: 2021-05-11 15:38:26 +0000 ipfw.8: Fix table example Fix some erronous lines in the example section. PR: 248943 Submitted by: Jose Luis Duran MFC after: 2 weeks Reviewers: ae, manpages (gbe) Differential Revision: https://reviews.freebsd.org/D30191 --- sbin/ipfw/ipfw.8 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8 index 439738a54e34..2380c6c344ec 100644 --- a/sbin/ipfw/ipfw.8 +++ b/sbin/ipfw/ipfw.8 @@ -1,7 +1,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 7, 2021 +.Dd May 11, 2021 .Dt IPFW 8 .Os .Sh NAME @@ -4451,11 +4451,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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105111540.14BFeWG9098032>