• Pieter Wuille's avatar
    Improve parsing of IPv6 addresses · b614820d
    Pieter Wuille authored
    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
    b614820d
netbase.cpp 28.7 KB