fix(network): restore ExternalIP in server info response (#5043)
This commit is contained in:
@@ -761,6 +761,10 @@ namespace nvhttp {
|
|||||||
}
|
}
|
||||||
tree.put("root.ServerCodecModeSupport", codec_mode_flags);
|
tree.put("root.ServerCodecModeSupport", codec_mode_flags);
|
||||||
|
|
||||||
|
if (!config::nvhttp.external_ip.empty()) {
|
||||||
|
tree.put("root.ExternalIP", config::nvhttp.external_ip);
|
||||||
|
}
|
||||||
|
|
||||||
auto current_appid = proc::proc.running();
|
auto current_appid = proc::proc.running();
|
||||||
tree.put("root.PairStatus", pair_status);
|
tree.put("root.PairStatus", pair_status);
|
||||||
tree.put("root.currentgame", current_appid);
|
tree.put("root.currentgame", current_appid);
|
||||||
|
|||||||
Reference in New Issue
Block a user