diff options
| author | gnattu <gnattuoc@me.com> | 2025-02-04 16:52:17 +0800 |
|---|---|---|
| committer | gnattu <gnattuoc@me.com> | 2025-02-04 16:52:17 +0800 |
| commit | 533ceeaaf299c9396f82e11e16314afbc03407f8 (patch) | |
| tree | c3b385e730c1cd982e7272fc5118a12965928d7a /SharedVersion.cs | |
| parent | d376b5fbc7cf3ae7440a606a9e885d70605956bd (diff) | |
Fix subnet contains check
We are still using `Subnet.Contains` a lot but that does not handle IPv4 mapped to IPv6 addresses at all. It was partially fixed by #12094 in local network checking, but it may not always happen on LAN.
Also make all local network checking to use IsInLocalNetwork method instead of just performing `Subnet.Contains` which is not accurate.
Filter out all link-local addresses for external interface matching.
Diffstat (limited to 'SharedVersion.cs')
0 files changed, 0 insertions, 0 deletions
