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 03bd7759cd
commit c155d3c68f
2 changed files with 12 additions and 1 deletions

View File

@ -2,6 +2,14 @@
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-11 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
Retrieve IPv6 addresses in Upnp_Discovery.

View File

@ -528,10 +528,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);
}