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 Document NAT algorithm option in the gra...



details:   https://anonhg.NetBSD.org/src/rev/edbecdb79440
branches:  trunk
changeset: 326701:edbecdb79440
user:      rmind <rmind%NetBSD.org@localhost>
date:      Fri Feb 14 01:52:58 2014 +0000

description:
Document NAT algorithm option in the grammar of "map".

diffstat:

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

diffs (28 lines):

diff -r 3e42ef837bca -r edbecdb79440 usr.sbin/npf/npfctl/npf.conf.5
--- a/usr.sbin/npf/npfctl/npf.conf.5    Fri Feb 14 01:43:13 2014 +0000
+++ b/usr.sbin/npf/npfctl/npf.conf.5    Fri Feb 14 01:52:58 2014 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: npf.conf.5,v 1.38 2014/02/08 01:20:09 rmind Exp $
+.\"    $NetBSD: npf.conf.5,v 1.39 2014/02/14 01:52:58 rmind Exp $
 .\"
 .\" Copyright (c) 2009-2014 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd February 8, 2014
+.Dd February 14, 2014
 .Dt NPF.CONF 5
 .Os
 .Sh NAME
@@ -229,7 +229,8 @@
 
 ; Mapping for address translation.
 
-map            = "map" interface ( "static" | "dynamic" )
+map            = "map" interface
+                 ( "static" [ "algo" algorithm ] | "dynamic" )
                  net-seg ( "->" | "<-" | "<->" ) net-seg
                  [ "pass" filt-opts ]
 



Home | Main Index | Thread Index | Old Index