aboutsummaryrefslogtreecommitdiff
path: root/test/test_p2p_tls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_p2p_tls.cpp')
-rw-r--r--test/test_p2p_tls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_p2p_tls.cpp b/test/test_p2p_tls.cpp
index 93cefac..10dacff 100644
--- a/test/test_p2p_tls.cpp
+++ b/test/test_p2p_tls.cpp
@@ -296,7 +296,7 @@ int main(int argc, char **argv) {
return;
}
scanf("%64s", buff);
- it->second->net->send_msg(MsgText(id, buff), it2->second->listen_addr);
+ it->second->net->send_msg(MsgText(id, buff), NetAddr(it2->second->listen_addr));
};
auto cmd_sleep = [](char *buff) {