From dbe3c2c9a76c631b98be020b932150ecbe4dd074 Mon Sep 17 00:00:00 2001 From: Fredrik Gustafsson Date: Fri, 23 Nov 2012 10:19:37 +0100 Subject: Inet doc clarifications --- lib/kernel/doc/src/inet.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/kernel/doc/src/inet.xml b/lib/kernel/doc/src/inet.xml index eff1d07735..6e9e67b9c9 100644 --- a/lib/kernel/doc/src/inet.xml +++ b/lib/kernel/doc/src/inet.xml @@ -375,21 +375,22 @@ fe80::204:acff:fe17:bf38 Parse an IPv4 address -

Parses an IPv4 address string and returns an ip4_address().

+

Parses an IPv4 address string and returns an ip4_address(). + Accepts a shortened IPv4 shortened address string.

Parse an IPv4 address strict. -

Parses an IPv4 address string containing four fields and returns a ip4_address().

+

Parses an IPv4 address string containing four fields, i.e not shortened, and returns an ip4_address().

Parse an IPv6 address -

Parses an IPv6 address string and returns a ip6_address(). +

Parses an IPv6 address string and returns an ip6_address(). If an IPv4 address string is passed, an IPv4-mapped IPv6 address is returned.

@@ -397,7 +398,7 @@ fe80::204:acff:fe17:bf38 Parse an IPv6 address strict. -

Parses an IPv6 address string and returns a ip6_address(). +

Parses an IPv6 address string and returns an ip6_address(). Does not accept IPv4 adresses.

@@ -405,7 +406,7 @@ fe80::204:acff:fe17:bf38 Parse an IPv4 or IPv6 address. -

Parses an IPv4 or IPv6 address string and returns a ip4_address() or ip6_address(). Accepts a shortened IPv4 address string.

+

Parses an IPv4 or IPv6 address string and returns an ip4_address() or ip6_address(). Accepts a shortened IPv4 address string.

-- cgit v1.2.3