1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-25 22:50:32 -04:00
ports/devel/upnp/files/patch-src::ssdp::ssdplib.c
Clive Lin 2711126f9a New port: SDK for UPnP Devices
This is Linux SDK for UPnP Devices 1.0, an Open Source
Universal Plug and Play Development Kit.

PR: ports/41294
Submitted by: Yen-Ming Lee <leeym@utopia.leeym.com>
2002-08-04 07:31:27 +00:00

11 lines
451 B
C

--- src/ssdp/ssdplib.c.orig Thu Aug 16 02:17:31 2001
+++ src/ssdp/ssdplib.c Sat Aug 3 16:29:39 2002
@@ -403,7 +403,7 @@
bzero((char *)&SelfAddr, sizeof(struct sockaddr_in));
SelfAddr.sin_family = AF_INET;
- SelfAddr.sin_addr.s_addr = inet_addr(SSDP_IP);
+ SelfAddr.sin_addr.s_addr = htonl(INADDR_ANY);
SelfAddr.sin_port = htons(SSDP_PORT);
if (bind( SsdpSock, (struct sockaddr *) &SelfAddr, sizeof(SelfAddr)) != 0)
{