Skip to content

Commit

Permalink
fix connected_external_ip config bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ywy2090 committed Dec 13, 2024
1 parent 9db50a8 commit 7b8422e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/wedpr-helper/ppc-tools/src/config/PPCConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ void PPCConfig::loadMPCConfig(boost::property_tree::ptree const& _pt)
m_mpcConfig.readPerBatchLines = _pt.get<std::uint64_t>("mpc.read_per_batch_lines", 100000);
m_mpcConfig.spdzConnectedPort = _pt.get<int>("spdz.connected_port", 5894);

m_mpcConfig.spdzConnectedIP = _pt.get<std::string>("transport.connected_external_ip", "");
m_mpcConfig.spdzConnectedIP = _pt.get<std::string>("spdz.connected_external_ip", "");
if (m_mpcConfig.spdzConnectedIP.empty()) {
m_mpcConfig.spdzConnectedIP = _pt.get<std::string>("transport.host_ip", "");
}
Expand Down

0 comments on commit 7b8422e

Please sign in to comment.