diff options
author | Anders Svensson <[email protected]> | 2017-08-29 15:15:07 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-08-29 15:15:07 +0200 |
commit | e79780e40c9bab4266df8a2bb5a2cf4d2bf162c2 (patch) | |
tree | f04abc0d2a4d439625998879201dba3eabac8be6 /lib/diameter/src/base/diameter_peer.erl | |
parent | 608897f0f97ef307f426af6b34f802298275c2b1 (diff) | |
parent | 614cc9aba105f6fe5c72de356be4735c22579ca2 (diff) | |
download | otp-e79780e40c9bab4266df8a2bb5a2cf4d2bf162c2.tar.gz otp-e79780e40c9bab4266df8a2bb5a2cf4d2bf162c2.tar.bz2 otp-e79780e40c9bab4266df8a2bb5a2cf4d2bf162c2.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/diameter/src/base/diameter_peer.erl')
-rw-r--r-- | lib/diameter/src/base/diameter_peer.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/diameter/src/base/diameter_peer.erl b/lib/diameter/src/base/diameter_peer.erl index 2759f17e64..4cb5a57a54 100644 --- a/lib/diameter/src/base/diameter_peer.erl +++ b/lib/diameter/src/base/diameter_peer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2010-2015. All Rights Reserved. +%% Copyright Ericsson AB 2010-2017. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -202,10 +202,10 @@ match1(Addr, Match) -> match(Addr, {ok, A}, _) -> Addr == A; match(Addr, {error, _}, RE) -> - match == re:run(inet_parse:ntoa(Addr), RE, [{capture, none}]). + match == re:run(inet:ntoa(Addr), RE, [{capture, none}, caseless]). addr([_|_] = A) -> - inet_parse:address(A); + inet:parse_address(A); addr(A) -> {ok, A}. |