Bug fix on M-SEARCH for IPv6 CPs.

Small bug fix on IPv6 Control Point: now CP will also send M-SEARCH on
site-scope address (FF05::C) instead of only sending M-SEARCH on
link-scope (FF02::C).
This commit is contained in:
Fabrice Fontaine 2012-01-11 15:07:13 +01:00 committed by Marcelo Roberto Jimenez
parent 1d753a56f6
commit c7b340833f
2 changed files with 15 additions and 1 deletions

View File

@ -166,10 +166,13 @@ Version 1.8.0
* Nicholas Kraft's patch to fix some IPv6 copy/paste issues. He
reported to be getting infinite loops with the svn code.
<<<<<<< HEAD
2008-06-13 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
* SF Bug Tracker [ 1984541 ]
ixmlDocumenttoString does not render the namespace tag.
Submitted By: Beliveau - belivo
=======
>>>>>>> c155d3c... Bug fix on M-SEARCH for IPv6 CPs.
Undoing the patch that fixed this problem. In fact, there was no
problem and the patch was wrong.
@ -255,6 +258,14 @@ Version 1.8.0
Version 1.6.15
*******************************************************************************
2012-01-11 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
Bug fix on M-SEARCH for IPv6 CPs.
Small bug fix on IPv6 Control Point: now CP will also send M-SEARCH on
site-scope address (FF05::C) instead of only sending M-SEARCH on
link-scope (FF02::C).
2012-01-04 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
Bug fix for IPv4-mapped IPv6 addresses.

View File

@ -538,10 +538,13 @@ int SearchByTarget(int Mx, char *St, void *Cookie)
int NumCopy = 0;
while (NumCopy < NUM_SSDP_COPY) {
UpnpPrintf(UPNP_INFO, SSDP, __FILE__, __LINE__,
">>> SSDP SEND M-SEARCH >>>\n%s\n",
ReqBufv6UlaGua);
sendto(gSsdpReqSocket6,
ReqBufv6UlaGua, strlen(ReqBufv6UlaGua), 0,
(struct sockaddr *)&__ss_v6,
sizeof(struct sockaddr_in));
sizeof(struct sockaddr_in6));
NumCopy++;
imillisleep(SSDP_PAUSE);
}