resolved: in the ResolveHostname() bus call, accept IP addresses with scope
authorLennart Poettering <lennart@poettering.net>
Tue, 14 Jun 2016 21:37:16 +0000 (23:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 14 Jun 2016 21:37:16 +0000 (23:37 +0200)
commit94831eaeec479b5f32e7941b355857dd95a58b51
treed43d67fdaa91793777db4719eed266f981bd8169
parent97ebebbc9c229cb7ac46e5c27228c9e2478c56bd
resolved: in the ResolveHostname() bus call, accept IP addresses with scope

When we get a literal IP address as string that includes a zone suffix, process
this properly and return the parsed ifindex back to the client, and include it
in the canonical name in case of a link-local IP address.
src/resolve/resolved-bus.c