]> git.ipfire.org Git - thirdparty/chrony.git/commit
nameserv: don't return scoped IPv6 addresses
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 29 Jun 2020 14:56:09 +0000 (16:56 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 29 Jun 2020 15:43:35 +0000 (17:43 +0200)
commit59cf4e0b967ff1fedf2aae19a45bcd1ed75b74a6
tree6c770039f12e9abdd4a0f160ed5266d625179df1
parent3fc72c0cfa6e4a203da08460a39128e00544be2e
nameserv: don't return scoped IPv6 addresses

Ignore IPv6 addresses returned by getaddrinfo() that have a non-zero
scope ID to avoid silently ignoring the ID if it was specified with the
% sign in the provided string.

This can be removed when the scope ID is returned from the function and
the callers handle it.
configure
nameserv.c