From nobody@FreeBSD.org  Sat Sep 11 23:37:02 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5F7AF16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 11 Sep 2004 23:37:02 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 53F5043D45
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 11 Sep 2004 23:37:02 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i8BNb2vA054194
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 11 Sep 2004 23:37:02 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i8BNb1sH054193;
	Sat, 11 Sep 2004 23:37:02 GMT
	(envelope-from nobody)
Message-Id: <200409112337.i8BNb1sH054193@www.freebsd.org>
Date: Sat, 11 Sep 2004 23:37:02 GMT
From: Mark Martinec <Mark.Martinec@ijs.si>
To: freebsd-gnats-submit@FreeBSD.org
Subject: gifconfig_gif0, not gif_config_gif0 (IPv6 handbook docs)
X-Send-Pr-Version: www-2.3

>Number:         71609
>Category:       misc
>Synopsis:       gifconfig_gif0, not gif_config_gif0 (IPv6 handbook docs)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 11 23:40:26 GMT 2004
>Closed-Date:    Sat Sep 11 23:54:32 GMT 2004
>Last-Modified:  Sat Sep 11 23:54:32 GMT 2004
>Originator:     Mark Martinec
>Release:        5.2-CURRENT
>Organization:
"J. Stefan" Institute
>Environment:
FreeBSD ezri.ijs.si 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Sun Aug 15 09:27:09 CEST 2004     root@ezri.ijs.si:/usr/obj/usr/src/sys/EZRI  amd64
>Description:
Documentation error, the rc.conf parameter name
is 'gifconfig_gif0' (no underscore), not 'gif_config_gif0'.

The document in error is:
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html
  FreeBSD Handbook, Chapter 24 Advanced Networking
    24.10.5.2 IPv6 Router/Gateway Settings
in text:
  To configure the interface with a local endpoint of MY_IPv4_ADDR
  to a remote endpoint of REMOTE_IPv4_ADDR:
    gif_config_gif0="MY_IPv4_ADDR REMOTE_IPv4_ADDR"
    ^^^^^^^^^^^^^^^

(the problem is trivial, yet it took some amount of
head scratching and digging on the startup scripts to
figure out why the tunnel is not configured on boot)
>How-To-Repeat:
Putting the:
  gif_config_gif0="192.168.10.138 10.11.12.13"
into /etc/rc.conf achieves no effect after restart,
yet the following correctly configures the tunnel:
  gifconfig_gif0="192.168.10.138 10.11.12.13"
>Fix:
Replace:
  gif_config_gif0="MY_IPv4_ADDR REMOTE_IPv4_ADDR"
with:
  gifconfig_gif0="MY_IPv4_ADDR REMOTE_IPv4_ADDR"
in the named document.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: simon 
State-Changed-When: Sat Sep 11 23:52:54 GMT 2004 
State-Changed-Why:  
This was fixed about half a day ago after another user report and is 
already fixed in the version of the Handbook found on www.FreeBSD.org. 

Thanks for the submission anyway. 

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