From 67ece6df42b20ecc524cf3e5c14e8b541afec860 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 16 Dec 1999 13:06:13 +0000 Subject: Tried to clean up multicast handling. Now we don't try to guess multicast abilities depending on definedness of symbols and use hard-wired system-dependent configuration defines instead. Please test whereever you can. --- sysdep/unix/krt-iface.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sysdep/unix/krt-iface.c') diff --git a/sysdep/unix/krt-iface.c b/sysdep/unix/krt-iface.c index a41b5ae9..3a50e8b2 100644 --- a/sysdep/unix/krt-iface.c +++ b/sysdep/unix/krt-iface.c @@ -102,9 +102,14 @@ scan_ifs(struct ifreq *r, int cnt) } if (fl & IFF_LOOPBACK) i.flags |= IF_LOOPBACK | IF_IGNORE; + if (1 #ifndef CONFIG_ALL_MULTICAST - if (fl & IFF_MULTICAST) + && (fl & IFF_MULTICAST) #endif +#ifndef CONFIG_UNNUM_MULTICAST + && !(i.flags & IF_UNNUMBERED) +#endif + ) i.flags |= IF_MULTICAST; a.prefix = ipa_and(a.ip, ipa_mkmask(a.pxlen)); -- cgit v1.2.3