mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-10-28 21:08:07 +08: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.