Skip to content

Commit dca3e8b

Browse files
authored
fix(network): restore ExternalIP in server info response (#5043)
1 parent 293c1ed commit dca3e8b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/nvhttp.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,10 @@ namespace nvhttp {
761761
}
762762
tree.put("root.ServerCodecModeSupport", codec_mode_flags);
763763

764+
if (!config::nvhttp.external_ip.empty()) {
765+
tree.put("root.ExternalIP", config::nvhttp.external_ip);
766+
}
767+
764768
auto current_appid = proc::proc.running();
765769
tree.put("root.PairStatus", pair_status);
766770
tree.put("root.currentgame", current_appid);

0 commit comments

Comments
 (0)