diff options
author | dknn <yoann.blein@free.fr> | 2012-08-29 11:16:57 (GMT) |
---|---|---|
committer | dknn <yoann.blein@free.fr> | 2012-09-22 09:34:49 (GMT) |
commit | 949278e9418e4090c2f3c68ed313cf4853b25ef1 (patch) | |
tree | f66f927a7325af16cb1e8444b40d06a649d09fb5 /Swiften/FileTransfer/FileTransferManagerImpl.cpp | |
parent | 56b5b129c2fbea3828faaf0cdf882534c2433eff (diff) | |
download | swift-contrib-949278e9418e4090c2f3c68ed313cf4853b25ef1.zip swift-contrib-949278e9418e4090c2f3c68ed313cf4853b25ef1.tar.bz2 |
Add UDP support in nat traversal
Diffstat (limited to 'Swiften/FileTransfer/FileTransferManagerImpl.cpp')
-rw-r--r-- | Swiften/FileTransfer/FileTransferManagerImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/FileTransfer/FileTransferManagerImpl.cpp b/Swiften/FileTransfer/FileTransferManagerImpl.cpp index 7fd8b07..22dc681 100644 --- a/Swiften/FileTransfer/FileTransferManagerImpl.cpp +++ b/Swiften/FileTransfer/FileTransferManagerImpl.cpp @@ -68,7 +68,7 @@ void FileTransferManagerImpl::startListeningOnPort(int port) { server->start(); bytestreamServer = new SOCKS5BytestreamServer(server, bytestreamRegistry); bytestreamServer->start(); - connectivityManager->addListeningPort(port); + connectivityManager->addListeningPort(port, NATPortMapping::TCP); s5bProxyFinder = new SOCKS5BytestreamProxyFinder(ownJID.getDomain(), iqRouter); s5bProxyFinder->onProxyFound.connect(boost::bind(&FileTransferManagerImpl::addS5BProxy, this, _1)); |