aboutsummaryrefslogtreecommitdiff
path: root/src/test/netbase_tests.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-05-30 22:44:23 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2012-06-14 17:37:15 +0200
commit1e8aeae15a300eca107752d6ef52fa0f5c2410c3 (patch)
treeb9c8e59dc0756bfb386ddb82b20a4648c0216c6e /src/test/netbase_tests.cpp
parentd59bce21e5dbb0a15051e40d5dd717fd7bf982d8 (diff)
downloadbitcoin-1e8aeae15a300eca107752d6ef52fa0f5c2410c3.tar.xz
Improve parsing of IPv6 addresses
Implement the following rules: * Interpret [X]:Y as host=X port=Y, if Y is an integer * Interpret X:Y as host=X port=Y, if Y is an integer and X contains no colon * Interpret X:Y as host=X:Y port=default otherwise
Diffstat (limited to 'src/test/netbase_tests.cpp')
0 files changed, 0 insertions, 0 deletions