summaryrefslogtreecommitdiffstats
path: root/sysdep/linux/netlink
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-12-08 16:12:54 +0100
committerMartin Mares <mj@ucw.cz>1999-12-08 16:12:54 +0100
commit30bc402ebb324749f9468f8ff196545bb0a58442 (patch)
tree12b93e065f28d0e5f1d8d6ec5b292044cfca382d /sysdep/linux/netlink
parent0da472d7e867e31c49fccc4ee45df3ef47c29c9b (diff)
downloadbird-30bc402ebb324749f9468f8ff196545bb0a58442.tar
bird-30bc402ebb324749f9468f8ff196545bb0a58442.zip
Temporary work-arounds for multicast problems. Needs further investigation.
Diffstat (limited to 'sysdep/linux/netlink')
-rw-r--r--sysdep/linux/netlink/netlink.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c
index bf61970..25d8fc0 100644
--- a/sysdep/linux/netlink/netlink.c
+++ b/sysdep/linux/netlink/netlink.c
@@ -302,7 +302,11 @@ nl_parse_link(struct nlmsghdr *h, int scan)
if (fl & IFF_UP)
f.flags |= IF_LINK_UP;
if (fl & IFF_POINTOPOINT)
+#if 0
f.flags |= IF_UNNUMBERED | IF_MULTICAST;
+#else /* FIXME: Are tunnels always unnumbered? */
+ f.flags |= IF_MULTICAST;
+#endif
if (fl & IFF_LOOPBACK)
f.flags |= IF_LOOPBACK | IF_IGNORE;
if (fl & IFF_BROADCAST)