]> git.proxmox.com Git - mirror_qemu.git/commitdiff
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)
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>

No differences found