summaryrefslogtreecommitdiffstats
path: root/sysdep/linux
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-01-17 13:40:00 +0100
committerMartin Mares <mj@ucw.cz>2000-01-17 13:40:00 +0100
commitfb89b1a4ced5f3d847ecbc1d4b86a0cb47564ef7 (patch)
treed0f7247e1d9dda2da9abe4f6c2aa36e9db7b0894 /sysdep/linux
parent295ae16d4ddf4b714e716a0a1537f40c54f1119c (diff)
downloadbird-fb89b1a4ced5f3d847ecbc1d4b86a0cb47564ef7.tar
bird-fb89b1a4ced5f3d847ecbc1d4b86a0cb47564ef7.zip
Removed point-to-point tunnel hack as it breaks ordinary PtP interfaces.
I'll find a better solution soon.
Diffstat (limited to 'sysdep/linux')
-rw-r--r--sysdep/linux/netlink/netlink.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c
index 11973e9..54e5cd8 100644
--- a/sysdep/linux/netlink/netlink.c
+++ b/sysdep/linux/netlink/netlink.c
@@ -301,12 +301,9 @@ nl_parse_link(struct nlmsghdr *h, int scan)
fl = i->ifi_flags;
if (fl & IFF_UP)
f.flags |= IF_LINK_UP;
+ /* FIXME: Unnumberedness of tunnels */
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)