projects
/
ldk-sample
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b3948f
)
Its 2023, its time to support v6
author
Matt Corallo
<git@bluematt.me>
Wed, 8 Feb 2023 17:52:44 +0000
(17:52 +0000)
committer
Matt Corallo
<git@bluematt.me>
Wed, 8 Feb 2023 17:52:44 +0000
(17:52 +0000)
src/main.rs
patch
|
blob
|
history
diff --git
a/src/main.rs
b/src/main.rs
index 57da6d15fb501ca373c87bc2c3fbac9c72e4193e..5bc3662a89059cd56e98da2248a68dcd624e1e5b 100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-617,7
+617,7
@@
async fn start_ldk() {
let stop_listen_connect = Arc::new(AtomicBool::new(false));
let stop_listen = Arc::clone(&stop_listen_connect);
tokio::spawn(async move {
- let listener = tokio::net::TcpListener::bind(format!("
0.0.0.0
:{}", listening_port))
+ let listener = tokio::net::TcpListener::bind(format!("
[::]
:{}", listening_port))
.await
.expect("Failed to bind to listen port - is something else already listening on it?");
loop {