• Pieter Wuille's avatar
    Improve parsing of IPv6 addresses · 1e8aeae1
    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
    1e8aeae1
netbase.h 5.85 KB