Set interface for outgoing traffic.

This sets interface for outgoing traffic to the same as for ingoing
(listetning) with libtorrent 1.1.x.
This commit is contained in:
Eugene Shalygin 2017-07-12 21:28:00 +02:00 committed by sledgehammer999
commit ba8641f1ac
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

@ -933,6 +933,7 @@ void Session::configure(libtorrent::settings_pack &settingsPack)
}
}
settingsPack.set_str(libt::settings_pack::outgoing_interfaces, networkInterface().toStdString());
m_listenInterfaceChanged = false;
}