Source-Changes-HG archive

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

[src/trunk]: src/share/examples/npf Switch out deprecated keywords.



details:   https://anonhg.NetBSD.org/src/rev/1342ab9cbac9
branches:  trunk
changeset: 998216:1342ab9cbac9
user:      sevan <sevan%NetBSD.org@localhost>
date:      Wed Apr 10 23:00:43 2019 +0000

description:
Switch out deprecated keywords.
Found with npfctl validate.

diffstat:

 share/examples/npf/soho_gw-npf.conf |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 7ce627882c77 -r 1342ab9cbac9 share/examples/npf/soho_gw-npf.conf
--- a/share/examples/npf/soho_gw-npf.conf       Wed Apr 10 21:42:52 2019 +0000
+++ b/share/examples/npf/soho_gw-npf.conf       Wed Apr 10 23:00:43 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: soho_gw-npf.conf,v 1.7 2018/08/20 20:45:52 rjs Exp $
+# $NetBSD: soho_gw-npf.conf,v 1.8 2019/04/10 23:00:43 sevan Exp $
 #
 # SOHO border
 #
@@ -13,9 +13,9 @@
 $int_if = "wm1"
 
 # a table to house e.g. block candidates in
-table <block> type hash file "/usr/share/examples/npf/hashtablefile"
+table <block> type ipset file "/usr/share/examples/npf/hashtablefile"
 # feed this using e.g.: npfctl table "int-block" add 198.51.100.16/29
-table <int-block> type tree dynamic
+table <int-block> type lpm
 
 $services_tcp = { http, https, smtp, domain, 6000, 9022 }
 $services_udp = { domain, ntp, 6000 }



Home | Main Index | Thread Index | Old Index