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 Fix the example (deja vu?).



details:   https://anonhg.NetBSD.org/src/rev/e67fa58a2df5
branches:  trunk
changeset: 785361:e67fa58a2df5
user:      rmind <rmind%NetBSD.org@localhost>
date:      Sun Mar 10 21:17:30 2013 +0000

description:
Fix the example (deja vu?).

diffstat:

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

diffs (18 lines):

diff -r a07238985ae2 -r e67fa58a2df5 usr.sbin/npf/npfctl/npf.conf.5
--- a/usr.sbin/npf/npfctl/npf.conf.5    Sun Mar 10 21:01:19 2013 +0000
+++ b/usr.sbin/npf/npfctl/npf.conf.5    Sun Mar 10 21:17:30 2013 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: npf.conf.5,v 1.27 2013/02/09 03:35:32 rmind Exp $
+.\"    $NetBSD: npf.conf.5,v 1.28 2013/03/10 21:17:30 rmind Exp $
 .\"
 .\" Copyright (c) 2009-2013 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -283,7 +283,7 @@
 # Note: if $ext_if has multiple IP address (e.g. IPv6 as well),
 # then the translation address has to be specified explicitly.
 map $ext_if dynamic 10.1.1.0/24 -> $ext_if
-map $ext_if dynamic 10.1.1.2 port 22 <- $ext_if 9022
+map $ext_if dynamic 10.1.1.2 port 22 <- $ext_if port 9022
 
 procedure "log" {
        # Note: npf_ext_log kernel module should be loaded, if not built-in.



Home | Main Index | Thread Index | Old Index