svn commit: samba r5163 - in branches/SAMBA_3_0/source/lib: .
jmcd at samba.org
jmcd at samba.org
Tue Feb 1 19:32:54 GMT 2005
Author: jmcd
Date: 2005-02-01 19:32:54 +0000 (Tue, 01 Feb 2005)
New Revision: 5163
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5163
Log:
Fix bugzilla 2062:
turn off broadcast for all 390 NICs.
Modified:
branches/SAMBA_3_0/source/lib/interface.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/interface.c
===================================================================
--- branches/SAMBA_3_0/source/lib/interface.c 2005-02-01 19:04:13 UTC (rev 5162)
+++ branches/SAMBA_3_0/source/lib/interface.c 2005-02-01 19:32:54 UTC (rev 5163)
@@ -60,10 +60,12 @@
return;
}
+#if !defined(__s390__)
if (ip_equal(nmask, allones_ip)) {
DEBUG(3,("not adding non-broadcast interface %s\n",inet_ntoa(ip)));
return;
}
+#endif
iface = SMB_MALLOC_P(struct interface);
if (!iface) return;
@@ -196,7 +198,10 @@
exit(1);
}
for (i=0;i<total_probed;i++) {
- if (probed_ifaces[i].netmask.s_addr != allones_ip.s_addr &&
+ if (
+#if !defined(__s390__)
+ probed_ifaces[i].netmask.s_addr != allones_ip.s_addr &&
+#endif
probed_ifaces[i].ip.s_addr != loopback_ip.s_addr) {
add_interface(probed_ifaces[i].ip,
probed_ifaces[i].netmask);
More information about the samba-cvs
mailing list