diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-08-15 21:54:24 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-08-15 21:54:24 +0000 |
commit | 9ce94207e291b8a04290f4ece51cbae741e41ff2 (patch) | |
tree | 777fe6e473c74c93055756343c8f51c8adc2fb08 | |
parent | 9518e06413938c0a23c0de120a708fc1ecc0a313 (diff) |
IPv6-addresses can have dots too!
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1989,7 +1989,7 @@ static CURLcode Connect(struct UrlData *data, * IPv6-specified addresses in the [0::1] style. *************************************************************/ - if((1 == sscanf(conn->name, "[%*39[0-9a-fA-F:]%c", &endbracket)) && + if((1 == sscanf(conn->name, "[%*39[0-9a-fA-F:.]%c", &endbracket)) && (']' == endbracket)) { /* this is a IPv6-style specified IP-address */ #ifndef ENABLE_IPV6 |