mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-27 07:47:03 -05: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
@ -1083,6 +1083,7 @@ bool CUPnPControlPoint::PrivateAddPortMapping(
|
|||||||
bool CUPnPControlPoint::DeletePortMappings(
|
bool CUPnPControlPoint::DeletePortMappings(
|
||||||
std::vector<CUPnPPortMapping> &upnpPortMapping)
|
std::vector<CUPnPPortMapping> &upnpPortMapping)
|
||||||
{
|
{
|
||||||
|
std::cerr << "DeletePortMappings called." << std::endl;
|
||||||
if (!WanServiceDetected()) {
|
if (!WanServiceDetected()) {
|
||||||
std::cerr << "UPnP Error: "
|
std::cerr << "UPnP Error: "
|
||||||
"CUPnPControlPoint::DeletePortMapping: "
|
"CUPnPControlPoint::DeletePortMapping: "
|
||||||
@ -1137,7 +1138,9 @@ bool CUPnPControlPoint::PrivateDeletePortMapping(
|
|||||||
bool ret = true;
|
bool ret = true;
|
||||||
for (ServiceMap::iterator it = m_ServiceMap.begin();
|
for (ServiceMap::iterator it = m_ServiceMap.begin();
|
||||||
it != m_ServiceMap.end(); ++it) {
|
it != m_ServiceMap.end(); ++it) {
|
||||||
|
std::cerr << "Sending a delete port mapping action." << std::endl;
|
||||||
ret &= it->second->Execute(actionName, argval);
|
ret &= it->second->Execute(actionName, argval);
|
||||||
|
std::cerr << "Delete port mapping action finished." << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user