svn commit: samba r12710 - in
branches/SAMBA_4_0/source/lib/socket_wrapper: .
abartlet at samba.org
abartlet at samba.org
Wed Jan 4 05:40:36 GMT 2006
Author: abartlet
Date: 2006-01-04 05:40:35 +0000 (Wed, 04 Jan 2006)
New Revision: 12710
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12710
Log:
Fix socket_wrapper: Make sure to fill in the socket family on the
returned address.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/lib/socket_wrapper/socket_wrapper.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/socket_wrapper/socket_wrapper.c
===================================================================
--- branches/SAMBA_4_0/source/lib/socket_wrapper/socket_wrapper.c 2006-01-04 02:53:53 UTC (rev 12709)
+++ branches/SAMBA_4_0/source/lib/socket_wrapper/socket_wrapper.c 2006-01-04 05:40:35 UTC (rev 12710)
@@ -160,6 +160,7 @@
return -1;
}
+ in->sin_family = AF_INET;
in->sin_addr.s_addr = htonl((127<<24) | iface);
in->sin_port = htons(prt);
More information about the samba-cvs
mailing list