mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
parent
c25b3e623c
commit
1549b782e6
1 changed files with 3 additions and 1 deletions
|
@ -1534,7 +1534,9 @@ void Session::configureNetworkInterfaces(lt::settings_pack &settingsPack)
|
||||||
? ('[' + Utils::Net::canonicalIPv6Addr(addr).toString() + ']')
|
? ('[' + Utils::Net::canonicalIPv6Addr(addr).toString() + ']')
|
||||||
: addr.toString());
|
: addr.toString());
|
||||||
endpoints << (ip + portString);
|
endpoints << (ip + portString);
|
||||||
outgoingInterfaces << ip;
|
|
||||||
|
if ((ip != "0.0.0.0") && (ip != "[::]"))
|
||||||
|
outgoingInterfaces << ip;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// ip holds an interface name
|
// ip holds an interface name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue