aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/inet_parse.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kernel/src/inet_parse.erl')
-rw-r--r--lib/kernel/src/inet_parse.erl6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/kernel/src/inet_parse.erl b/lib/kernel/src/inet_parse.erl
index f150521e92..06e1048afe 100644
--- a/lib/kernel/src/inet_parse.erl
+++ b/lib/kernel/src/inet_parse.erl
@@ -715,12 +715,6 @@ ntoa({0,0,0,0,0,0,A,B}) -> "::" ++ dig_to_dec(A) ++ "." ++ dig_to_dec(B);
%% IPV4 non ipv6 host address
ntoa({0,0,0,0,0,16#ffff,A,B}) ->
"::ffff:" ++ dig_to_dec(A) ++ "." ++ dig_to_dec(B);
-%% RFC 2765 IPv4-translated address
-ntoa({0,0,0,0,16#ffff,0,A,B}) ->
- "::ffff:0:" ++ dig_to_dec(A) ++ "." ++ dig_to_dec(B);
-%% RFC 6052 Well-known Prefix address
-ntoa({16#64,16#ff9b,0,0,0,0,A,B}) ->
- "64:ff9b::" ++ dig_to_dec(A) ++ "." ++ dig_to_dec(B);
ntoa({_,_,_,_,_,_,_,_}=T) ->
%% Find longest sequence of zeros, at least 2, to replace with "::"
ntoa(tuple_to_list(T), []);