kern/62272: incorrect comment in bpf.h

Radim Kolar hsn at netmag.cz
Mon Feb 2 09:40:43 PST 2004


>Number:         62272
>Category:       kern
>Synopsis:       incorrect comment in bpf.h
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 02 09:40:03 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
Sanatana Dharma
>Environment:
System: FreeBSD asura.bsd 5.2-RELEASE FreeBSD 5.2-RELEASE #1: Wed Jan 28 18:18:58 CET 2004 root at asura.bsd:/usr/src/sys/i386/compile/GENERIC i386

>Description:
/usr/include/net/bpf.h has bad comment about DLT_NULL.
It is not true that this type is  /* no link-layer encapsulation */
this type is BSD loopback encapsulation; the link layer header is a 4-byte
field (see man pcap), so please correct this comment. 
	
>How-To-Repeat:
>Fix:
#define DLT_NULL        0       /* BSD loopback encapsulation */
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list