From nobody@FreeBSD.org  Fri Mar  7 20:20:23 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D0F551065673
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  7 Mar 2008 20:20:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id BFC5A8FC1B
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  7 Mar 2008 20:20:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m27KHHPL017834
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 7 Mar 2008 20:17:17 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m27KHHlk017833;
	Fri, 7 Mar 2008 20:17:17 GMT
	(envelope-from nobody)
Message-Id: <200803072017.m27KHHlk017833@www.freebsd.org>
Date: Fri, 7 Mar 2008 20:17:17 GMT
From: Sam Banks <samb@catalyst.net.nz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ieee80211_radiotap(9) mentions incorrect data link-layer type
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         121477
>Category:       docs
>Synopsis:       [patch] ieee80211_radiotap(9) mentions incorrect data link-layer type
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    brueffer
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 07 20:30:02 UTC 2008
>Closed-Date:    Thu Mar 20 09:35:06 CET 2008
>Last-Modified:  Thu Mar 20 09:35:06 CET 2008
>Originator:     Sam Banks
>Release:        7.0-RELEASE
>Organization:
>Environment:
FreeBSD wolfie.evil 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Sat Mar  1 09:59:25 NZDT 2008     root@wolfie.evil:/usr/obj/usr/src/sys/WOLFIE  i386
>Description:
ieee80211_radiotap(9) mentions using the data link-layer type DLT_IEEE_80211_RADIO which doesn't exist. After looking into it, DLT_IEEE802_11_RADIO is the correct type to use.
>How-To-Repeat:
man 9 ieee80211_radiotap :)
>Fix:
The attached patch fixes the issue.

Patch attached with submission follows:

--- /usr/src/share/man/man9/ieee80211_radiotap.9	2004-07-08 00:59:39.000000000 +1200
+++ ieee80211_radiotap.9	2008-03-08 08:33:37.000000000 +1300
@@ -72,7 +72,7 @@
 It is requested by using the
 .Xr bpf 4
 data-link type
-.Dv DLT_IEEE_80211_RADIO .
+.Dv DLT_IEEE802_11_RADIO .
 .Pp
 .\"
 Each frame using this attachment has the following header prepended to it:
@@ -103,7 +103,7 @@
 by calling
 .Fn bpfattach2
 with the data-link type set to
-.Dv DLT_IEEE_80211_RADIO .
+.Dv DLT_IEEE802_11_RADIO .
 .Pp
 .\"
 When the the information is available,


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: brueffer 
State-Changed-When: Mon Mar 17 17:33:45 CET 2008 
State-Changed-Why:  
Patched in HEAD, MFC pending.  Thanks! 


Responsible-Changed-From-To: freebsd-doc->brueffer 
Responsible-Changed-By: brueffer 
Responsible-Changed-When: Mon Mar 17 17:33:45 CET 2008 
Responsible-Changed-Why:  
MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121477 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/121477: commit references a PR
Date: Mon, 17 Mar 2008 16:33:40 +0000 (UTC)

 brueffer    2008-03-17 16:33:34 UTC
 
   FreeBSD src repository
 
   Modified files:
     share/man/man9       ieee80211_radiotap.9 
   Log:
   Correct bpf data-link type.
   
   PR:             121477
   Submitted by:   Sam Banks
   MFC after:      3 days
   
   Revision  Changes    Path
   1.4       +2 -2      src/share/man/man9/ieee80211_radiotap.9
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/121477: commit references a PR
Date: Mon, 17 Mar 2008 16:37:45 +0000 (UTC)

 brueffer    2008-03-17 16:37:35 UTC
 
   FreeBSD src repository
 
   Modified files:
     share/man/man9       ieee80211_radiotap.9 
   Log:
   Bah, missed one instance in the previous commit.  Correct bpf
   data-link type here as well.
   
   PR:             121477
   
   Revision  Changes    Path
   1.5       +1 -1      src/share/man/man9/ieee80211_radiotap.9
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: brueffer 
State-Changed-When: Thu Mar 20 09:34:49 CET 2008 
State-Changed-Why:  
MFCs done. Thanks! 

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