aboutsummaryrefslogtreecommitdiff
path: root/server/src/main.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-07-07 23:51:19 +0200
committermetamuffin <metamuffin@disroot.org>2025-07-07 23:51:24 +0200
commitac1ecb0876d57d73cee54127f5ba793095808b92 (patch)
treea2489ac8b91ed877db0c0c729b6d95ef732bbfde /server/src/main.rs
parentd21f0fa8363a0d48c6b6cd0c0589c012e7fe7bf5 (diff)
downloadhurrycurry-ac1ecb0876d57d73cee54127f5ba793095808b92.tar
hurrycurry-ac1ecb0876d57d73cee54127f5ba793095808b92.tar.bz2
hurrycurry-ac1ecb0876d57d73cee54127f5ba793095808b92.tar.zst
server mdns prevent advertising not supported ip versions
Diffstat (limited to 'server/src/main.rs')
-rw-r--r--server/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main.rs b/server/src/main.rs
index 7fbc044a..c5f28ed8 100644
--- a/server/src/main.rs
+++ b/server/src/main.rs
@@ -172,7 +172,7 @@ async fn run(args: Args) -> anyhow::Result<()> {
if args.mdns {
tokio::task::spawn(hurrycurry_server::network::mdns::mdns_loop(
args.server_name.clone(),
- args.listen.port(),
+ args.listen,
state.clone(),
));
}