From root@gits.dyndns.org  Fri Jun  9 20:11:33 2000
Return-Path: <root@gits.dyndns.org>
Received: from camus.cybercable.fr (camus.cybercable.fr [212.198.0.200])
	by hub.freebsd.org (Postfix) with SMTP id 8F4F737BBEB
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 Jun 2000 20:11:31 -0700 (PDT)
	(envelope-from root@gits.dyndns.org)
Received: (qmail 17575534 invoked from network); 10 Jun 2000 03:11:30 -0000
Received: from r224m65.cybercable.tm.fr (HELO gits.dyndns.org) ([195.132.224.65]) (envelope-sender <root@gits.dyndns.org>)
          by camus.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <FreeBSD-gnats-submit@freebsd.org>; 10 Jun 2000 03:11:30 -0000
Received: (from root@localhost)
	by gits.dyndns.org (8.9.3/8.9.3) id FAA07218;
	Sat, 10 Jun 2000 05:11:24 +0200 (CEST)
	(envelope-from root)
Message-Id: <200006100311.FAA07218@gits.dyndns.org>
Date: Sat, 10 Jun 2000 05:11:24 +0200 (CEST)
From: clefevre@citeweb.net
Sender: root@gits.dyndns.org
Reply-To: clefevre@citeweb.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: stf manual and kernel mismatch
X-Send-Pr-Version: 3.2

>Number:         19163
>Category:       docs
>Synopsis:       stf manual and kernel mismatch
>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:   Fri Jun 09 20:20:01 PDT 2000
>Closed-Date:    Sat Jul 15 01:00:04 PDT 2000
>Last-Modified:  Sat Jul 15 01:02:07 PDT 2000
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.0-RELEASE i386
>Organization:
ACME
>Environment:

FreeBSD gits 4.0-STABLE FreeBSD 4.0-STABLE #20: Fri Jun  9 01:43:56 CEST 2000     root@gits:/disk2/4.0-STABLE/sys/compile/GENERIC  i386

>Description:

	the stf online manual pages says :

		NAME
		     stf - 6to4 tunnel interface
		SYNOPSIS
		     pseudo-device stf

	but this interface seems to be into the gif device driver.

		# grep -i \"stf\" /usr/src/sys/netinet/*
/usr/src/sys/netinet/in_gif.c:  if (bcmp(ifp->if_name, "stf", 3) == 0) {
/usr/src/sys/netinet/in_gif.c:              bcmp(sc->gif_if.if_name, "stf", 3) == 0 &&
/usr/src/sys/netinet/in_gif.c:          if (bcmp(gifp->if_name, "stf", 3) == 0) {

>How-To-Repeat:

	add pseudo-device stf to your kernel config then :

	config CUSTOM
	Don't forget to do a ``make depend''
	Warning: pseudo-device "stf" is unknown

>Fix:

	no synopsis or pseudo-device gif instead.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: alex 
State-Changed-When: Sat Jul 15 01:00:04 PDT 2000 
State-Changed-Why:  
You were right - in fact the stf support was temporarily hacked into the 
gif device. 
However, the manpage was already written for the latter stf device, which 
was merged from KAME into /sys/net/if_stf.c in early July. 
Today, it was MFCed to STABLE, and thus, the manpage is correct now :) 

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