Samuel Thibault, le lun. 01 mars 2021 17:26:23 +0100, a ecrit: > We could make libslirp enable the IPV6ONLY flag to avoid that, and > make qemu pass an AF_UNSPEC address for the ipv4+ipv6 case, in which > case libslirp wouldn't set IPV6ONLY.
Ah, no, AF_UNSPEC would not allow to specify the port. But we can use a flag in the slirp_add_hostxfwd call. Samuel