svn commit: samba r7909 - in branches/SAMBA_4_0/source/lib/netif: .

tridge at samba.org tridge at samba.org
Sat Jun 25 23:35:38 GMT 2005


Author: tridge
Date: 2005-06-25 23:35:37 +0000 (Sat, 25 Jun 2005)
New Revision: 7909

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

Log:
don't consider not finding a list of network interfaces from the kernel a fatal error, 
the individual services that need at least one known interface check for it anyway

this should fix provisioning on macosx

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


Changeset:
Modified: branches/SAMBA_4_0/source/lib/netif/interface.c
===================================================================
--- branches/SAMBA_4_0/source/lib/netif/interface.c	2005-06-25 17:31:40 UTC (rev 7908)
+++ branches/SAMBA_4_0/source/lib/netif/interface.c	2005-06-25 23:35:37 UTC (rev 7909)
@@ -219,7 +219,6 @@
 	if (!ptr || !*ptr || !**ptr) {
 		if (total_probed <= 0) {
 			DEBUG(0,("ERROR: Could not determine network interfaces, you must use a interfaces config line\n"));
-			exit(1);
 		}
 		for (i=0;i<total_probed;i++) {
 			if (probed_ifaces[i].netmask.s_addr != allones_ip.addr &&



More information about the samba-cvs mailing list