]> git.proxmox.com Git - mirror_qemu.git/commit
slirp: Send RDNSS in RA only if host has an IPv6 DNS server
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 26 Mar 2017 18:46:34 +0000 (20:46 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 28 Mar 2017 22:51:25 +0000 (00:51 +0200)
commita2f80fdfc683019901cdf4c0863a5920c0ca7245
tree4c0811e87c547033f05e5eb8d31e444dbb7c6755
parente42f869b5118fa9ac64dcea624276204567fc581
slirp: Send RDNSS in RA only if host has an IPv6 DNS server

Previously we would always send an RDNSS option in the RA, making the guest
try to resolve DNS through IPv6, even if the host does not actually have
and IPv6 DNS server available.

This makes the RDNSS option enabled only when an IPv6 DNS server is
available.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
slirp/ip6_icmp.c