diff options
| author | 2008-08-13 09:46:12 +0000 | |
|---|---|---|
| committer | 2008-08-13 09:46:12 +0000 | |
| commit | 900c8771c9c08fb7861489ab2a5e14b12e27ab07 (patch) | |
| tree | 07bd7f185352b2e389192322769e7b0dade2a53f /src/modules/upnp/igdcontrolpoint.cpp | |
| parent | wiped out layer3forwardingservice check from upnp module (incompatible betwee... (diff) | |
| download | KVIrc-900c8771c9c08fb7861489ab2a5e14b12e27ab07.tar.gz KVIrc-900c8771c9c08fb7861489ab2a5e14b12e27ab07.tar.bz2 KVIrc-900c8771c9c08fb7861489ab2a5e14b12e27ab07.zip | |
more work on upnp
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2236 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/upnp/igdcontrolpoint.cpp')
| -rw-r--r-- | src/modules/upnp/igdcontrolpoint.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/upnp/igdcontrolpoint.cpp b/src/modules/upnp/igdcontrolpoint.cpp index 3ae288f22..e782f1370 100644 --- a/src/modules/upnp/igdcontrolpoint.cpp +++ b/src/modules/upnp/igdcontrolpoint.cpp @@ -40,8 +40,6 @@ namespace UPnP { -#define InternetGatewayDeviceType "urn:schemas-upnp-org:device:InternetGatewayDevice:1" - #define WanIpConnectionType "urn:schemas-upnp-org:service:WANIPConnection:1" #define WanPPPConnectionType "urn:schemas-upnp-org:service:WANPPPConnection:1" @@ -121,6 +119,9 @@ void IgdControlPoint::slotDeviceQueried(bool error) if(! params.controlUrl.isNull()) { + + m_bGatewayAvailable = true; + qDebug() << "UPnP::IgdControlPoint: wan/ipconnection service found, " << "querying service '" << params.serviceId << "' for external ip address..." << endl; @@ -141,7 +142,6 @@ void IgdControlPoint::slotWanQueryFinished(bool error) if(! error) { qDebug() << "IgdControlPoint: UPnP Gateway Device found." << endl; - m_bGatewayAvailable = true; } else { // Just started, the request for the external IP failed. This should succeed, abort portation qDebug() << "Requesting external IP address failed, leaving UPnP Gateway Device untouched." << endl; |
