summaryrefslogtreecommitdiff
path: root/net/tcl-scotty/patches/patch-af
blob: b81927128700496ffe9caa52ddb18d1f59291777 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-af,v 1.2 2002/12/08 13:31:24 cjep Exp $
--- ../tnm/generic/tnmUdp.c.orig	Mon Nov 25 12:35:13 2002
+++ ../tnm/generic/tnmUdp.c	Mon Nov 25 12:35:27 2002
@@ -643,7 +643,7 @@
 	}
 
 	mreq.imr_multiaddr.s_addr = name.sin_addr.s_addr;
-	name.imr_interface.s_addr = htonl(INADDR_ANY);
+	mreq.imr_interface.s_addr = htonl(INADDR_ANY);
 
 	sock = TnmSocket(PF_INET, SOCK_DGRAM, 0);
 	if (sock == TNM_SOCKET_ERROR) {