projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9518e06
)
IPv6-addresses can have dots too!
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 15 Aug 2001 21:54:24 +0000
(21:54 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 15 Aug 2001 21:54:24 +0000
(21:54 +0000)
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
afd66a4
..
76c2c73
100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-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