diff options
Diffstat (limited to 'net/gssdp/patches')
-rw-r--r-- | net/gssdp/patches/patch-aa | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/gssdp/patches/patch-aa b/net/gssdp/patches/patch-aa index 2e2f92491d3..2b2ff0b8e76 100644 --- a/net/gssdp/patches/patch-aa +++ b/net/gssdp/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.1.1.1 2009/08/02 11:24:06 drochner Exp $ +$NetBSD: patch-aa,v 1.2 2010/01/20 13:44:03 wiz Exp $ ---- ./libgssdp/gssdp-socket-source.c.orig 2009-01-06 15:44:15.000000000 +0100 -+++ ./libgssdp/gssdp-socket-source.c -@@ -121,6 +121,16 @@ gssdp_socket_source_new (GSSDPSocketSour +--- libgssdp/gssdp-socket-source.c.orig 2009-12-02 11:06:02.000000000 +0000 ++++ libgssdp/gssdp-socket-source.c +@@ -154,6 +154,16 @@ gssdp_socket_source_new (GSSDPSocketSour if (res == -1) goto error; @@ -17,5 +17,5 @@ $NetBSD: patch-aa,v 1.1.1.1 2009/08/02 11:24:06 drochner Exp $ +#endif + /* Subscribe to multicast channel */ - mreq.imr_multiaddr.s_addr = inet_addr (SSDP_ADDR); - mreq.imr_interface.s_addr = htonl (INADDR_ANY); + res = inet_aton (SSDP_ADDR, &(mreq.imr_multiaddr)); + if (res == 0) |