aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-07-30 16:10:13 +0200
committerFredrik Gustafsson <[email protected]>2013-07-30 16:10:13 +0200
commitef31996dc6186222a9fadfae2beca702ea1a86ec (patch)
tree2918a01a3f949c2dbd44231057ed824d29a9d1f3
parente547c997a4e516d3474e577bd4747e249303a7c7 (diff)
downloadotp-ef31996dc6186222a9fadfae2beca702ea1a86ec.tar.gz
otp-ef31996dc6186222a9fadfae2beca702ea1a86ec.tar.bz2
otp-ef31996dc6186222a9fadfae2beca702ea1a86ec.zip
kernel: changed tests where inet_parse:ntoa/1 was used to inet:parse/1
-rw-r--r--lib/kernel/test/inet_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/test/inet_SUITE.erl b/lib/kernel/test/inet_SUITE.erl
index 62ba95e1a3..46c8c0b88b 100644
--- a/lib/kernel/test/inet_SUITE.erl
+++ b/lib/kernel/test/inet_SUITE.erl
@@ -226,7 +226,7 @@ t_gethostbyname_v6(Config) when is_list(Config) ->
h_addr_list = [IP4]} = HEnt4,
{ok,IP46} =
inet_parse:ipv6_address(
- "::ffff:" ++ inet_parse:ntoa(IP4)),
+ "::ffff:" ++ inet:ntoa(IP4)),
check_elems(
[{HEnt#hostent.h_name,[Name,FullName]}])
end,
@@ -246,7 +246,7 @@ t_gethostbyname_v6(Config) when is_list(Config) ->
h_addr_list = [IP4F]} = HEnt4F,
{ok,IP46F} =
inet_parse:ipv6_address(
- "::ffff:" ++ inet_parse:ntoa(IP4F)),
+ "::ffff:" ++ inet:ntoa(IP4F)),
check_elems(
[{HEntF#hostent.h_name,[Name,FullName]}])
end;