Broken IPv6.

IPv6 is currently broken in latest release of branch-1.6.x, so find
a patch attached that correct the issue (small fixes on define,
undef and retVal).
This commit is contained in:
Fabrice Fontaine
2010-09-16 06:17:38 +02:00
committed by Marcelo Roberto Jimenez
parent a0b405f902
commit 55d581481f
3 changed files with 12 additions and 5 deletions

View File

@@ -488,7 +488,7 @@ exit_function:
return retVal;
}
#ifndef UPNP_ENABLE_IPV6
#ifdef UPNP_ENABLE_IPV6
int UpnpInit2(const char *IfName, unsigned short DestPort)
{
int retVal;
@@ -533,7 +533,7 @@ int UpnpInit2(const char *IfName, unsigned short DestPort)
exit_function:
ithread_mutex_unlock(&gSDKInitMutex);
return UPNP_E_SUCCESS;
return retVal;
}
#endif