Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/npf/npfctl Remove quotes from "hash" and "tree" in ...



details:   https://anonhg.NetBSD.org/src/rev/6cd43d3b675d
branches:  trunk
changeset: 771692:6cd43d3b675d
user:      riz <riz%NetBSD.org@localhost>
date:      Tue Nov 29 01:12:09 2011 +0000

description:
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.

diffstat:

 usr.sbin/npf/npfctl/npf.conf.5 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r ca46b2596f6f -r 6cd43d3b675d usr.sbin/npf/npfctl/npf.conf.5
--- a/usr.sbin/npf/npfctl/npf.conf.5    Mon Nov 28 23:29:45 2011 +0000
+++ b/usr.sbin/npf/npfctl/npf.conf.5    Tue Nov 29 01:12:09 2011 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index