1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-08 22:07:53 +00:00

- Fix some other DHT port issues

This commit is contained in:
Christophe Dumez 2009-12-29 10:04:41 +00:00
parent ff5e5d1062
commit e885ee0d35
2 changed files with 1 additions and 3 deletions

View File

@ -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);

View File

@ -890,8 +890,6 @@ bool options_imp::systrayIntegration() const{
}
int options_imp::getDHTPort() const {
if(isDHTPortSameAsBT())
return 0;
return spinDHTPort->value();
}