libUPnP does support IPV6 now.
Patch submitted by Ronan Menard. git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/branches/branch-1.6.x@560 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
parent
cb89781a55
commit
9468e0224a
@ -2,6 +2,11 @@
|
||||
Version 1.6.7
|
||||
*******************************************************************************
|
||||
|
||||
2010-08-19 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* libUPnP does support IPV6 now.
|
||||
|
||||
Patch submitted by Ronan Menard.
|
||||
|
||||
2010-08-19 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* HTTP version equal to 1.0 should failed as required by the UPnP
|
||||
certification tool. Patch submitted by Ronan Menard.
|
||||
|
@ -447,13 +447,8 @@ int parse_hostport(
|
||||
else if( af == AF_INET6 ) {
|
||||
sai6->sin6_family = AF_INET6;
|
||||
sai6->sin6_port = htons(port);
|
||||
/*
|
||||
sai6->sin6_scope_id = gIF_INDEX;
|
||||
sai6->sin6_scope_id = gIF_INDEX;
|
||||
ret = inet_pton(AF_INET6, srvname, &sai6->sin6_addr);
|
||||
*/
|
||||
/* libUPnP 1.6.x does not currently support IPV6. */
|
||||
assert(0);
|
||||
ret = -1;
|
||||
} else {
|
||||
// IP address was set by the hostname (getaddrinfo).
|
||||
// Override port:
|
||||
|
Loading…
Reference in New Issue
Block a user