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:
parent
a0b405f902
commit
55d581481f
@ -2,6 +2,13 @@
|
|||||||
Version 1.6.7
|
Version 1.6.7
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
|
|
||||||
|
2010-09-16 Fabrice Fontaine <fabrice.fontaine(at)orange-ftgroup.com>
|
||||||
|
|
||||||
|
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).
|
||||||
|
|
||||||
2010-09-10 Warwick Harvey <warwick.harvey(at)tieto.com>
|
2010-09-10 Warwick Harvey <warwick.harvey(at)tieto.com>
|
||||||
Patch to take notice of UPNP_USE_RWLOCK flag
|
Patch to take notice of UPNP_USE_RWLOCK flag
|
||||||
|
|
||||||
|
@ -987,7 +987,7 @@ EXPORT_SPEC int UpnpInit(
|
|||||||
* \li \c UPNP_E_INVALID_INTERFACE: IfName is invalid or does not
|
* \li \c UPNP_E_INVALID_INTERFACE: IfName is invalid or does not
|
||||||
* have a valid IPv4 or IPv6 addresss configured.
|
* have a valid IPv4 or IPv6 addresss configured.
|
||||||
*/
|
*/
|
||||||
#ifdef ENABLE_IPV6
|
#ifdef UPNP_ENABLE_IPV6
|
||||||
EXPORT_SPEC int UpnpInit2(
|
EXPORT_SPEC int UpnpInit2(
|
||||||
/*! The interface name to use by the UPnP SDK operations.
|
/*! The interface name to use by the UPnP SDK operations.
|
||||||
* Examples: "eth0", "xl0", "Local Area Connection", \c NULL to
|
* Examples: "eth0", "xl0", "Local Area Connection", \c NULL to
|
||||||
@ -1046,7 +1046,7 @@ EXPORT_SPEC unsigned short UpnpGetServerPort(void);
|
|||||||
* related requests.
|
* related requests.
|
||||||
* \li On error: 0 is returned if \b UpnpInit has not succeeded.
|
* \li On error: 0 is returned if \b UpnpInit has not succeeded.
|
||||||
*/
|
*/
|
||||||
#ifdef ENABLE_IPV6
|
#ifdef UPNP_ENABLE_IPV6
|
||||||
EXPORT_SPEC unsigned short UpnpGetServerPort6(void);
|
EXPORT_SPEC unsigned short UpnpGetServerPort6(void);
|
||||||
#endif
|
#endif
|
||||||
/*!
|
/*!
|
||||||
@ -1074,7 +1074,7 @@ EXPORT_SPEC char *UpnpGetServerIpAddress(void);
|
|||||||
* listening for UPnP related requests.
|
* listening for UPnP related requests.
|
||||||
* \li On error: \c NULL is returned if \b UpnpInit has not succeeded.
|
* \li On error: \c NULL is returned if \b UpnpInit has not succeeded.
|
||||||
*/
|
*/
|
||||||
#ifdef ENABLE_IPV6
|
#ifdef UPNP_ENABLE_IPV6
|
||||||
EXPORT_SPEC char *UpnpGetServerIp6Address(void);
|
EXPORT_SPEC char *UpnpGetServerIp6Address(void);
|
||||||
|
|
||||||
EXPORT_SPEC char *UpnpGetServerUlaGuaIp6Address(void);
|
EXPORT_SPEC char *UpnpGetServerUlaGuaIp6Address(void);
|
||||||
|
@ -488,7 +488,7 @@ exit_function:
|
|||||||
return retVal;
|
return retVal;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef UPNP_ENABLE_IPV6
|
#ifdef UPNP_ENABLE_IPV6
|
||||||
int UpnpInit2(const char *IfName, unsigned short DestPort)
|
int UpnpInit2(const char *IfName, unsigned short DestPort)
|
||||||
{
|
{
|
||||||
int retVal;
|
int retVal;
|
||||||
@ -533,7 +533,7 @@ int UpnpInit2(const char *IfName, unsigned short DestPort)
|
|||||||
exit_function:
|
exit_function:
|
||||||
ithread_mutex_unlock(&gSDKInitMutex);
|
ithread_mutex_unlock(&gSDKInitMutex);
|
||||||
|
|
||||||
return UPNP_E_SUCCESS;
|
return retVal;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user