mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Fix some other DHT port issues
This commit is contained in:
parent
ff5e5d1062
commit
e885ee0d35
2 changed files with 1 additions and 3 deletions
|
@ -363,7 +363,7 @@ void Bittorrent::configureSession() {
|
|||
if(enableDHT(true)) {
|
||||
int dht_port;
|
||||
if(Preferences::isDHTPortSameAsBT())
|
||||
dht_port = new_listenPort;
|
||||
dht_port = 0;
|
||||
else
|
||||
dht_port = Preferences::getDHTPort();
|
||||
setDHTPort(dht_port);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue