From d794ba8845619322639f24602624b9acd71efc98 Mon Sep 17 00:00:00 2001 From: Fredrik Gustafsson Date: Tue, 30 Jul 2013 15:37:34 +0200 Subject: kernel: clarified inet:parse_address/1 referrering to old code --- lib/kernel/doc/src/inet.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/kernel/doc') diff --git a/lib/kernel/doc/src/inet.xml b/lib/kernel/doc/src/inet.xml index 7cd98914d1..f33ea3c57d 100644 --- a/lib/kernel/doc/src/inet.xml +++ b/lib/kernel/doc/src/inet.xml @@ -76,11 +76,11 @@ FFFF::192.168.42.2 {16#3ffe,16#b80,16#1f8d,16#2,16#204,16#acff,16#fe17,16#bf38} fe80::204:acff:fe17:bf38 {16#fe80,0,0,0,0,16#204,16#acff,16#fe17,16#bf38} -

A function that may be useful is inet_parse:address/1:

+

A function that may be useful is parse_address/1:

-1> inet_parse:address("192.168.42.2").
+1> inet:parse_address("192.168.42.2").
 {ok,{192,168,42,2}}
-2> inet_parse:address("FFFF::192.168.42.2").
+2> inet:parse_address("FFFF::192.168.42.2").
 {ok,{65535,0,0,0,0,0,49320,10754}}
-- cgit v1.2.3