summaryrefslogtreecommitdiff
path: root/source4/lib/socket
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-11 22:23:28 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:36 +0100
commit0b8ec6de02002e013775a1ba2d012a93e0950617 (patch)
tree8aac0ed0ec20db687670e1b9194b88dc8650fef7 /source4/lib/socket
parent28671c54cf154131ca6b601cac283933664829c7 (diff)
downloadsamba-0b8ec6de02002e013775a1ba2d012a93e0950617.tar.gz
samba-0b8ec6de02002e013775a1ba2d012a93e0950617.tar.bz2
samba-0b8ec6de02002e013775a1ba2d012a93e0950617.zip
r26404: 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. (This used to be commit 035c4831003d5b5310f0874e712ef66ba3e78e34)
Diffstat (limited to 'source4/lib/socket')
-rw-r--r--source4/lib/socket/netif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/socket/netif.c b/source4/lib/socket/netif.c
index c9f43e811a..d85bf4c716 100644
--- a/source4/lib/socket/netif.c
+++ b/source4/lib/socket/netif.c
@@ -29,6 +29,7 @@
*/
+#define SOCKET_WRAPPER_NOT_REPLACE
#ifndef AUTOCONF_TEST
#include "includes.h"
#endif