fix port changing

This commit is contained in:
Ferdinand Schober
2024-01-01 14:55:29 +01:00
parent 64e3bf3ff4
commit f5827bb31c

View File

@@ -586,7 +586,7 @@ impl Server {
a
})
.collect();
state
state.active_addr = state
.active_addr
.map(|a| SocketAddr::new(a.ip(), client_update.port));
}