Browse Source

- Display the correct DHT port in the console

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
9d0577fa5c
  1. 1
      src/bittorrent.cpp

1
src/bittorrent.cpp

@ -397,6 +397,7 @@ void Bittorrent::configureSession() { @@ -397,6 +397,7 @@ void Bittorrent::configureSession() {
else
dht_port = Preferences::getDHTPort();
setDHTPort(dht_port);
if(dht_port == 0) dht_port = new_listenPort;
addConsoleMessage(tr("DHT support [ON], port: UDP/%1").arg(dht_port), QString::fromUtf8("blue"));
} else {
addConsoleMessage(tr("DHT support [OFF]"), QString::fromUtf8("red"));

Loading…
Cancel
Save