From jylefort@twist.frontis.net  Sun Dec 15 21:21:20 2002
Return-Path: <jylefort@twist.frontis.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C803B37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 Dec 2002 21:21:20 -0800 (PST)
Received: from mirapoint3.brutele.be (mirapoint3.brutele.be [212.68.203.242])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C62D643EFA
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 Dec 2002 21:21:19 -0800 (PST)
	(envelope-from jylefort@twist.frontis.net)
Received: from gateway.lefort.net ([213.189.162.78])
	by mirapoint3.brutele.be (Mirapoint Messaging Server MOS 3.2.0-GA)
	with ESMTP id AFP91629;
	Mon, 16 Dec 2002 06:21:07 +0100 (CET)
Received: from jsite.lefort.net (jsite.lefort.net [192.168.1.2])
	by gateway.lefort.net (Postfix) with ESMTP id 91BC854F9
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Dec 2002 06:21:06 +0100 (CET)
Received: by jsite.lefort.net (Postfix, from userid 1000)
	id 4C74323005; Mon, 16 Dec 2002 06:21:06 +0100 (CET)
Message-Id: <20021216052106.4C74323005@jsite.lefort.net>
Date: Mon, 16 Dec 2002 06:21:06 +0100 (CET)
From: Jean-Yves Lefort <jylefort@brutele.be>
Reply-To: Jean-Yves Lefort <jylefort@brutele.be>
To: FreeBSD-gnats-submit@freebsd.org
Subject: there's an omission and an error in the natd(8) manual page
X-Send-Pr-Version: 3.113

>Number:         46286
>Category:       docs
>Synopsis:       there's an omission and an error in the natd(8) manual page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 15 21:30:00 PST 2002
>Closed-Date:    Mon Sep 22 13:00:58 PDT 2003
>Last-Modified:  Mon Sep 22 13:00:58 PDT 2003
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #0: Sat Nov 16 11:18:01 CET 2002 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386


	
>Description:
The attached patch (diffed against
$FreeBSD: src/sbin/natd/natd.8,v 1.55 2002/08/13 14:10:36 ru Exp $)
is self-explanatory.


>How-To-Repeat:
	
>Fix:
--- natd.8.orig	Mon Dec 16 05:34:59 2002
+++ natd.8	Mon Dec 16 06:03:16 2002
@@ -65,7 +65,10 @@
 If an entry is found, it is used to determine the correct target IP
 number and port to place in the packet.
 .Pp
-The following command line options are available:
+The following command line options are available (note that address
+and port settings may be passed as symbolic names, in which case
+.Nm
+will attempt to resolve them upon startup):
 .Bl -tag -width Fl
 .It Fl log | l
 Log various aliasing statistics and information to the file
@@ -155,12 +158,11 @@
 range need not be the same numerically, but must have the same size.
 If
 .Ar remotePORT
-is not specified, it is assumed to be all ports.
+is not specified, or specified as 0, it is assumed to be all ports.
 If
 .Ar remotePORT
-is specified, it must match the size of
-.Ar targetPORT ,
-or be 0 (all ports).
+is specified as a range, it must match the size of
+.Ar targetPORT .
 For example, the argument
 .Pp
 .Dl Ar tcp inside1:telnet 6666

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->ru 
Responsible-Changed-By: dannyboy 
Responsible-Changed-When: Thu Jul 10 14:38:14 PDT 2003 
Responsible-Changed-Why:  
This manpage looks like it's pretty much ru's. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=46286 
State-Changed-From-To: open->patched 
State-Changed-By: ru 
State-Changed-When: Wed Aug 13 08:13:38 PDT 2003 
State-Changed-Why:  
There were no errors in the manpage, but I've just committed a 
change there in an attempt to improve the language somewhat. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=46286 
State-Changed-From-To: patched->closed 
State-Changed-By: ru 
State-Changed-When: Mon Sep 22 12:00:55 PDT 2003 
State-Changed-Why:  
Merged into 4.9-BETA. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=46286 
>Unformatted:
