mirror of
https://github.com/transmission/transmission.git
synced 2026-02-14 23:19:34 +00:00
fix: rebind udp sockets on bind-address change (#8096)
This commit is contained in:
@@ -856,7 +856,7 @@ void tr_session::setSettings(tr_session::Settings&& settings_in, bool force)
|
||||
port_forwarding_->local_port_changed();
|
||||
}
|
||||
|
||||
if (!udp_core_ || force || port_changed || utp_changed)
|
||||
if (!udp_core_ || force || addr_changed || port_changed || utp_changed)
|
||||
{
|
||||
udp_core_ = std::make_unique<tr_session::tr_udp_core>(*this, udpPort());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user