diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-04-14 02:05:22 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-04-14 02:05:22 +0000 |
commit | dc86935656614246608a94d99c864f4c54ff35bf (patch) | |
tree | 746cbbce69902c856fafd25ea628694f1eccd718 /devel/upnp104/files/patch-src::ssdp::ssdplib.c | |
parent | Add support for configuring for a AMD64. (diff) |
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.
Notes
Notes:
svn path=/head/; revision=78926
Diffstat (limited to 'devel/upnp104/files/patch-src::ssdp::ssdplib.c')
-rw-r--r-- | devel/upnp104/files/patch-src::ssdp::ssdplib.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/upnp104/files/patch-src::ssdp::ssdplib.c b/devel/upnp104/files/patch-src::ssdp::ssdplib.c new file mode 100644 index 000000000000..a9152fe2e8bd --- /dev/null +++ b/devel/upnp104/files/patch-src::ssdp::ssdplib.c @@ -0,0 +1,11 @@ +--- 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) + { |