From ue@nathan.ruhr.de  Wed Mar  1 10:33:01 2000
Return-Path: <ue@nathan.ruhr.de>
Received: from mail.ruhr.de (ns.ruhr.de [141.39.224.34])
	by hub.freebsd.org (Postfix) with SMTP id 9346337BD96
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  1 Mar 2000 10:32:58 -0800 (PST)
	(envelope-from ue@nathan.ruhr.de)
Received: (qmail 65121 invoked by alias); 1 Mar 2000 18:32:46 -0000
Received: (from ue@localhost)
	by nathan.ruhr.de (8.9.3/8.9.3) id SAA02018;
	Wed, 1 Mar 2000 18:06:14 +0100 (CET)
	(envelope-from ue)
Message-Id: <200003011706.SAA02018@nathan.ruhr.de>
Date: Wed, 1 Mar 2000 18:06:14 +0100 (CET)
From: ue@nathan.ruhr.de
Reply-To: ue@nathan.ruhr.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: Wrong refrence in faith(4).
X-Send-Pr-Version: 3.2

>Number:         17102
>Category:       docs
>Synopsis:       Wrong refrence in faith(4).
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar  1 10:40:02 PST 2000
>Closed-Date:    Tue Mar 7 06:01:08 PST 2000
>Last-Modified:  Tue Mar  7 06:04:35 PST 2000
>Originator:     Udo Erdelhoff
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

	4.0-CURRENT as of 27-FEB-2000

>Description:

The manualpage for faith(4) contains a reference to getsockname(3). This
reference should be change to getsockname(2) because
a) the manualpage for getsockname is in section 2 of the handbook.
b) getsockname is implemented as a system call, not a library function
   (at least in the non-threaded version of libc)

>How-To-Repeat:

	N/A

>Fix:

--- /usr/src/share/man/man4/faith.4.orig	Mon Feb 28 19:34:12 2000
+++ /usr/src/share/man/man4/faith.4	Mon Feb 28 19:34:30 2000
@@ -61,7 +61,7 @@
 .Xr faithd 8 ,
 can use this behavior to relay IPv6 TCP traffic to IPv4 TCP traffic.
 The program can accept some specific IPv6 TCP traffic, perform
-.Xr getsockname 3
+.Xr getsockname 2
 to get the IPv6 destination address specified by the client,
 and perform application-specific address mapping to relay IPv6 TCP to IPv4 TCP.
 .Pp

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nik 
State-Changed-When: Tue Mar 7 06:01:08 PST 2000 
State-Changed-Why:  
Committed, thanks. 
>Unformatted:
