mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
getsockopt(IP_UNICAST_IF) hands the interface index back in host order while setsockopt wants it in network byte order, so the second swap in boundProbeInterface compared 0x01000000 against 1 and the IPv4 cases of TestBoundDirectDialerSocketOptions failed on Windows.