Commit ab8f8c98 authored by Jérémie Courrèges-Anglas's avatar Jérémie Courrèges-Anglas Committed by Povilas Kanapickas
Browse files

xserver/os: safer IPv6 "kame hack" fix, only override sin6_scope_id if zero



This helps on KAME-based systems which want to get rid of this hack.
The assumption is that if sin6_scope_id is set, then the interface index
is no longer embedded in the address.
Signed-off-by: Jérémie Courrèges-Anglas's avatarJeremie Courreges-Anglas <jca@wxcvbn.org>
parent aeed57d7
Pipeline #295169 passed with stages
in 10 minutes and 44 seconds