From 92bbd3151d2b72ebeef8b79b86b5eab84fad3898 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Tue, 1 Feb 2005 19:32:54 +0000 Subject: r5163: Fix bugzilla 2062: turn off broadcast for all 390 NICs. (This used to be commit d159a5013e96a1188599a3fa0bff108fa6f6679b) --- source3/lib/interface.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source3/lib') diff --git a/source3/lib/interface.c b/source3/lib/interface.c index 8cf11b8503..2bd7d6ddbe 100644 --- a/source3/lib/interface.c +++ b/source3/lib/interface.c @@ -60,10 +60,12 @@ static void add_interface(struct in_addr ip, struct in_addr nmask) 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 @@ void load_interfaces(void) exit(1); } for (i=0;i