mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-03-28 19:20:26 +00:00
Stop reporting ExternalIP field to clients
At best, it doesn't help compared to Moonlight's STUN logic. At worst, it makes things worse by providing an incorrect WAN address that overrides STUN.
This commit is contained in:
parent
85af19150c
commit
25e0244705
@ -632,10 +632,6 @@ namespace nvhttp {
|
||||
tree.put("root.ServerCodecModeSupport", "3");
|
||||
}
|
||||
|
||||
if (!config::nvhttp.external_ip.empty()) {
|
||||
tree.put("root.ExternalIP", config::nvhttp.external_ip);
|
||||
}
|
||||
|
||||
pt::ptree display_nodes;
|
||||
for (auto &resolution : config::nvhttp.resolutions) {
|
||||
auto pred = [](auto ch) { return ch == ' ' || ch == '\t' || ch == 'x'; };
|
||||
|
Loading…
x
Reference in New Issue
Block a user