aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFredrik Gustafsson <fredrik@erlang.org>2013-07-30 15:37:34 +0200
committerFredrik Gustafsson <fredrik@erlang.org>2013-07-30 15:37:34 +0200
commitd794ba8845619322639f24602624b9acd71efc98 (patch)
tree15ab99252e4ca2331ba8913c46995104f98f7211 /lib
parentecdf2b1505451612d9c163ef918b948fd8948bac (diff)
downloadotp-d794ba8845619322639f24602624b9acd71efc98.tar.gz
otp-d794ba8845619322639f24602624b9acd71efc98.tar.bz2
otp-d794ba8845619322639f24602624b9acd71efc98.zip
kernel: clarified inet:parse_address/1 referrering to old code
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/doc/src/inet.xml6
1 files changed, 3 insertions, 3 deletions
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}</code>
- <p>A function that may be useful is <c>inet_parse:address/1</c>:</p>
+ <p>A function that may be useful is <seealso marker="#parse_address/1">parse_address/1</seealso>:</p>
<pre>
-1> <input>inet_parse:address("192.168.42.2").</input>
+1> <input>inet:parse_address("192.168.42.2").</input>
{ok,{192,168,42,2}}
-2> <input>inet_parse:address("FFFF::192.168.42.2").</input>
+2> <input>inet:parse_address("FFFF::192.168.42.2").</input>
{ok,{65535,0,0,0,0,0,49320,10754}}</pre>
</description>