Skip to content

Commit

Permalink
udp2p: pass config from main
Browse files Browse the repository at this point in the history
  • Loading branch information
rtgiskard committed Oct 6, 2024
1 parent 5ee4982 commit c7fa5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ int main(int argc, char ** argv) {
config.dump();
break;
case mtrx::OP_UDP2P: {
auto udp2p = mtrx::udp2p::Udp2p();
auto udp2p = mtrx::udp2p::Udp2p(config.udp2p);
udp2p.run();
break;
}
Expand Down

0 comments on commit c7fa5ff

Please sign in to comment.