Date: Sun, 31 Jul 2011 23:46:36 GMT From: Garrett Cooper <yanegomi@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/159341: [patch] incorrect reference to netinet/if_ether.h in ethers(3) Message-ID: <201107312346.p6VNkaCt052090@red.freebsd.org> Resent-Message-ID: <201107312350.p6VNo7tU048172@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159341 >Category: docs >Synopsis: [patch] incorrect reference to netinet/if_ether.h in ethers(3) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 31 23:50:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: CURRENT >Organization: n/a >Environment: >Description: ethers(3) recommends that the user should look in netinet/if_ether.h, instead of net/ethernet.h, where the definition actually resides. This doc bug was introduced in r20288 ( http://svnweb.freebsd.org/base?view=revision&revision=20288 ). This bug has been around for more than a decade. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: lib/libc/net/ethers.3 =================================================================== --- lib/libc/net/ethers.3 (revision 223824) +++ lib/libc/net/ethers.3 (working copy) @@ -68,7 +68,7 @@ These functions operate on ethernet addresses using an .Vt ether_addr structure, which is defined in the header file -.In netinet/if_ether.h : +.In net/ethernet.h : .Bd -literal -offset indent /* * The number of bytes in an ethernet (MAC) address. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107312346.p6VNkaCt052090>