1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/upnp/files/patch-src::ssdp::ssdplib.c
Yen-Ming Lee dc86935656 Backout previous commit.
It's a incompatible upgrade; net/linuxigd isn't yet ready for it.

Noticed by:     kris & bento, and many other linuxigd users.
2003-04-14 02:05:22 +00:00

12 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)
{