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:

committed by
Marcelo Roberto Jimenez

parent
a0b405f902
commit
55d581481f
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user