Module Name: src
Committed By: riz
Date: Tue Nov 29 01:12:10 UTC 2011
Modified Files:
src/usr.sbin/npf/npfctl: npf.conf.5
Log Message:
Remove quotes from "hash" and "tree" in the table examples so
the example stands a chance of actually working as written. There appear
to be other problems, too.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/npf/npfctl/npf.conf.5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/npf/npfctl/npf.conf.5
diff -u src/usr.sbin/npf/npfctl/npf.conf.5:1.5 src/usr.sbin/npf/npfctl/npf.conf.5:1.6
--- src/usr.sbin/npf/npfctl/npf.conf.5:1.5 Tue Mar 22 07:31:42 2011
+++ src/usr.sbin/npf/npfctl/npf.conf.5 Tue Nov 29 01:12:09 2011
@@ -1,4 +1,4 @@
-.\" $NetBSD: npf.conf.5,v 1.5 2011/03/22 07:31:42 jruoho Exp $
+.\" $NetBSD: npf.conf.5,v 1.6 2011/11/29 01:12:09 riz Exp $
.\"
.\" Copyright (c) 2009-2011 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -177,8 +177,8 @@ int_if = "wm1"
services_tcp = "{ http, https, smtp, domain, 6000 }"
services_udp = "{ domain, ntp, 6000 }"
-table "1" type "hash" file "/etc/npf_blacklist"
-table "2" type "tree" dynamic
+table "1" type hash file "/etc/npf_blacklist"
+table "2" type tree dynamic
nat $ext_if from 192.168.0.0/24 to any -> $ext_if