[OpenWrt-Devel] Q: curl: IPv6 zone identifiers / RFC6874 / OpenWrt

Bastian Bittorf bittorf at bluebottle.com
Wed Aug 13 11:24:07 EDT 2014

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

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

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list