svn commit: samba r26404 - in branches/SAMBA_4_0: . source/lib/socket

jelmer at samba.org jelmer at samba.org
Tue Dec 11 22:23:29 GMT 2007


Author: jelmer
Date: 2007-12-11 22:23:28 +0000 (Tue, 11 Dec 2007)
New Revision: 26404

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26404

Log:
Disable socket wrapper for the interface detection code to work around the fact that the ioctls for enumerating interfaces are not very reliable when used on unix domain sockets.

Ideally, we should be implementing the SIOCGIFCONF and SIOCGIFADDR ioctls in socket wrapper.

Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/lib/socket/netif.c


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/lib/socket/netif.c
===================================================================
--- branches/SAMBA_4_0/source/lib/socket/netif.c	2007-12-11 22:23:25 UTC (rev 26403)
+++ branches/SAMBA_4_0/source/lib/socket/netif.c	2007-12-11 22:23:28 UTC (rev 26404)
@@ -29,6 +29,7 @@
 
 */
 
+#define SOCKET_WRAPPER_NOT_REPLACE
 #ifndef AUTOCONF_TEST
 #include "includes.h"
 #endif



More information about the samba-cvs mailing list