mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
add debug info to upnp
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1759 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
432311d5c3
commit
1d5c11c65b
1 changed files with 3 additions and 0 deletions
|
@ -1083,6 +1083,7 @@ bool CUPnPControlPoint::PrivateAddPortMapping(
|
|||
bool CUPnPControlPoint::DeletePortMappings(
|
||||
std::vector<CUPnPPortMapping> &upnpPortMapping)
|
||||
{
|
||||
std::cerr << "DeletePortMappings called." << std::endl;
|
||||
if (!WanServiceDetected()) {
|
||||
std::cerr << "UPnP Error: "
|
||||
"CUPnPControlPoint::DeletePortMapping: "
|
||||
|
@ -1137,7 +1138,9 @@ bool CUPnPControlPoint::PrivateDeletePortMapping(
|
|||
bool ret = true;
|
||||
for (ServiceMap::iterator it = m_ServiceMap.begin();
|
||||
it != m_ServiceMap.end(); ++it) {
|
||||
std::cerr << "Sending a delete port mapping action." << std::endl;
|
||||
ret &= it->second->Execute(actionName, argval);
|
||||
std::cerr << "Delete port mapping action finished." << std::endl;
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue