mirror of
				https://github.com/DigitalDevices/octonet.git
				synced 2023-10-10 11:36:52 +00:00 
			
		
		
		
	send defense to specified searchport instead of 1900
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user