Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man5 IPv6 numeric addresses are permitted.



details:   https://anonhg.NetBSD.org/src/rev/3abc18dc690c
branches:  trunk
changeset: 487862:3abc18dc690c
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Jun 14 03:57:23 2000 +0000

description:
IPv6 numeric addresses are permitted.

diffstat:

 share/man/man5/hosts.5 |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r ef3ef020d5d1 -r 3abc18dc690c share/man/man5/hosts.5
--- a/share/man/man5/hosts.5    Wed Jun 14 03:52:40 2000 +0000
+++ b/share/man/man5/hosts.5    Wed Jun 14 03:57:23 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: hosts.5,v 1.6 1999/03/17 20:19:45 garbled Exp $
+.\"    $NetBSD: hosts.5,v 1.7 2000/06/14 03:57:23 itojun Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -91,12 +91,14 @@
 .Tn DARPA
 Internet.
 .Pp
-Network addresses are specified in the conventional
+As network addresses, both IPv4 and IPv6 addresses are allowed.
+IPv4 addresses are specified in the conventional
 ``.'' (dot) notation using the
-.Xr inet_addr 3
+.Xr inet_pton 3
 routine
 from the Internet address manipulation library,
 .Xr inet 3 .
+IPv6 addresses are specified in the standard hex-and-colon notation.
 Host names may contain any printable
 character other than a field delimiter, newline,
 or comment character.



Home | Main Index | Thread Index | Old Index