Module Name: src
Committed By: abhinav
Date: Wed Oct 25 16:13:04 UTC 2017
Modified Files:
src/lib/libc/net: ethers.3
Log Message:
Remove comma after last Nm entry.
New sentence, new line
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/net/ethers.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/net/ethers.3
diff -u src/lib/libc/net/ethers.3:1.13 src/lib/libc/net/ethers.3:1.14
--- src/lib/libc/net/ethers.3:1.13 Wed Apr 16 13:34:41 2003
+++ src/lib/libc/net/ethers.3 Wed Oct 25 16:13:04 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: ethers.3,v 1.13 2003/04/16 13:34:41 wiz Exp $
+.\" $NetBSD: ethers.3,v 1.14 2017/10/25 16:13:04 abhinav Exp $
.\"
.\" Written by [email protected]. Public domain.
.\"
@@ -10,7 +10,7 @@
.Nm ether_aton ,
.Nm ether_ntohost ,
.Nm ether_hostton ,
-.Nm ether_line ,
+.Nm ether_line
.Nd get ethers entry
.Sh LIBRARY
.Lb libc
@@ -42,12 +42,14 @@ The
.Fn ether_ntoa
function converts this structure into an ASCII string of the form
``xx:xx:xx:xx:xx:xx'', consisting of 6 hexadecimal numbers separated
-by colons. It returns a pointer to a static buffer that is reused for
+by colons.
+It returns a pointer to a static buffer that is reused for
each call.
The
.Fn ether_aton
converts an ASCII string of the same form and to a structure
-containing the 6 octets of the address. It returns a pointer to a
+containing the 6 octets of the address.
+It returns a pointer to a
static structure that is reused for each call.
.Pp
The
@@ -64,7 +66,8 @@ host name into the character buffer pass
The
.Fn ether_hostton
function looks up the given host name and writes the associated
-Ethernet address into the structure passed. Both functions return
+Ethernet address into the structure passed.
+Both functions return
zero if they find the requested host name or address, and -1 if not.
Each call reads
.Pa /etc/ethers
@@ -83,8 +86,8 @@ The
function parses a line from the
.Pa /etc/ethers
file and fills in the passed ``struct ether_addr'' and character
-buffer with the Ethernet address and host name on the line. It
-returns zero if the line was successfully parsed and -1 if not.
+buffer with the Ethernet address and host name on the line.
+It returns zero if the line was successfully parsed and -1 if not.
.Pp
The
.Fa hostname