Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2008 20:17:17 GMT
From:      Sam Banks <samb@catalyst.net.nz>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/121477: ieee80211_radiotap(9) mentions incorrect data link-layer type
Message-ID:  <200803072017.m27KHHlk017833@www.freebsd.org>
Resent-Message-ID: <200803072030.m27KU3Q0042999@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         121477
>Category:       docs
>Synopsis:       ieee80211_radiotap(9) mentions incorrect data link-layer type
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 07 20:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803072017.m27KHHlk017833>