diff options
author | Kris Katterjohn <katterjohn@gmail.com> | 2019-01-25 15:52:40 -0600 |
---|---|---|
committer | Kris Katterjohn <katterjohn@gmail.com> | 2019-02-25 16:03:42 -0600 |
commit | 1b9e77349ffbe813c7b16af67c069d967327f63b (patch) | |
tree | 5f39712e646092ac7a8ead7f313d4e5e4c495950 /src/test/test_config.c | |
parent | a3f9ddcf033881ac78cda0aa7e6a9fd7195868cc (diff) | |
download | tor-1b9e77349ffbe813c7b16af67c069d967327f63b.tar.gz tor-1b9e77349ffbe813c7b16af67c069d967327f63b.zip |
Fix some error-checking logic and a misleading error message
When IPv4Only (IPv6Only) was used but the address could not be
interpreted as a IPv4 (IPv6) address, the error message referred
to the wrong IP version.
This also fixes up the error-checking logic so it's more precise
about what's being checked.
Fixes bug 13221; bugfix on 0.2.3.9-alpha
Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
Diffstat (limited to 'src/test/test_config.c')
0 files changed, 0 insertions, 0 deletions