aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2015-07-10 16:36:57 +0200
committerAnders Svensson <[email protected]>2015-08-04 18:57:04 +0200
commitf60bc6ad8852e7d97d509ced084c137f55bd4aad (patch)
treebd0c3ef34944c910a573038ed41fa31728341402 /lib/common_test
parent1a90f86927dba2f22cff6e3703c76415da05d667 (diff)
downloadotp-f60bc6ad8852e7d97d509ced084c137f55bd4aad.tar.gz
otp-f60bc6ad8852e7d97d509ced084c137f55bd4aad.tar.bz2
otp-f60bc6ad8852e7d97d509ced084c137f55bd4aad.zip
Match allowable peer addresses case insensitively
Both diameter_tcp and diameter_sctp can be configured with one or more IP addresses from which connections should be accepted (an 'accept' tuple), specified either as a tuple-valued address or as a regular expression. In the latter case, peer addresses are mapped to string using inet:ntoa/1 and the result matched against the regexp. Since (ipv6) addresses are case insensitive, this should also be the case with the match, but was not.
Diffstat (limited to 'lib/common_test')
0 files changed, 0 insertions, 0 deletions