mirror of
https://github.com/DigitalDevices/octonet.git
synced 2023-10-10 13:36:52 +02:00
send defense to specified searchport instead of 1900
This commit is contained in:
parent
b3ec5429d4
commit
dd41037506
@ -209,8 +209,8 @@ static int ssdp_defend(struct os_ssdp *ss)
|
||||
ss->devid);
|
||||
if (len < 0 || len >= sizeof(buf))
|
||||
return -1;
|
||||
return sendto(s, buf, len, 0, &ss->cadr, sizeof(ss->cadr));
|
||||
//return sendto_port(ss->sock, buf, len, &ss->cadr, ss->csport);
|
||||
//return sendto(s, buf, len, 0, &ss->cadr, sizeof(ss->cadr));
|
||||
return sendto_port(ss->sock, buf, len, &ss->cadr, ss->csport);
|
||||
}
|
||||
|
||||
static int send_reply_msearch(struct os_ssdp *ss, int mc, int send_id, int nr)
|
||||
|
Loading…
x
Reference in New Issue
Block a user