Author: ? Subject: Handle NICs on S390 systems correctly Bugzilla: bugzilla.Samba.org #2062 --- samba-3.0.4/source/lib/interface.c +++ samba-3.0.4/source/lib/interface.c 2004-05-10 11:20:19 @@ -59,12 +59,12 @@ DEBUG(3,("not adding duplicate interface %s\n",inet_ntoa(ip))); 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 = (struct interface *)malloc(sizeof(*iface)); if (!iface) return; @@ -196,8 +196,12 @@ exit(1); } for (i=0;i