Closed chriskohlhoff closed 9 years ago
For the case when the address fails to convert, as inet_pton does not define an errno for this case. Use invalid_argument if can't find anything better.
Also for network_v* classes. If we find a better error than invalid_argument for address, then use a different error for the prefix length.
Fixed in 9736907ad8c70fba31db54dd1e8146bc660d9f92.
For the case when the address fails to convert, as inet_pton does not define an errno for this case. Use invalid_argument if can't find anything better.