FEATURE: Added UPnP/NAT-PMP port forward for the Web UI port

This commit is contained in:
Christophe Dumez
2011-04-12 19:50:05 +00:00
parent aec3087528
commit da32321f10
6 changed files with 85 additions and 57 deletions

View File

@@ -241,7 +241,6 @@ private:
bool addInPause;
qreal global_ratio_limit;
int high_ratio_action;
bool UPnPEnabled;
bool LSDEnabled;
bool DHTEnabled;
int current_dht_port;
@@ -269,7 +268,9 @@ private:
QPointer<QTracker> m_tracker;
TorrentSpeedMonitor *m_speedMonitor;
shutDownAction m_shutdownAct;
// Port forwarding
libtorrent::upnp *m_upnp;
libtorrent::natpmp *m_natpmp;
};
#endif