cURL / Mailing Lists / curl-library / Single Mail

curl-library

Q: curl: IPv6 zone identifiers / RFC6874 / OpenWrt

From: Bastian Bittorf <bittorf_at_bluebottle.com>
Date: Wed, 13 Aug 2014 17:24:07 +0200

dear devs,

i build 7.37.1 from 2014 jul 16 for OpenWrt on arch ar71xx:
(the feature was at added at 9317eced9840 / 2014 Mar 15)

root_at_box:~ curl --version
curl 7.37.1 (mips-openwrt-linux-gnu) libcurl/7.36.0 PolarSSL/1.3.8
Protocols: file ftp ftps http https
Features: IPv6 Largefile SSL

when retrieving an linklocal IPv6-address, it does not work like exspected:

root_at_box:~ curl http://[fe80::b248:7aff:fec5:ddf2%25wlan0]/
curl: (6) Couldn't resolve host '[fe80::b248:7aff:fec5'

root_at_box:~ curl http://[fe80::b248:7aff:fec5:ddf2%wlan0]/
curl: (6) Couldn't resolve host '[fe80::b248:7aff:fec5'

but this works:
root_at_box:~ ping -c1 fe80::b248:7aff:fec5:ddf2%wlan0
PING fe80::b248:7aff:fec5:ddf2%wlan0 (fe80::b248:7aff:fec5:ddf2%wlan0): 56 data bytes
64 bytes from fe80::b248:7aff:fec5:ddf2: seq=0 ttl=64 time=0.431 ms

any idea which is wrong on my side?
thanks in advance - bye, bastian

PS:
for building under openwrt i removed these 2 patches:
(which should not influence the above behavior)

001-cyassl-Use-error-ssl.h-when-available.patch
400-hugehelp.patch

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-08-13