summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--TODO1
-rw-r--r--sysdep/linux/netlink/netlink.c5
2 files changed, 1 insertions, 5 deletions
diff --git a/TODO b/TODO
index 7428dfb..ff549a5 100644
--- a/TODO
+++ b/TODO
@@ -44,7 +44,6 @@ show <name> # show everything you know about symbol <name>
static ??? [<name>]
symbols
- showing of routing table as seen by given protocol
-- showing of deleted routing tables and filters
Roadmap
~~~~~~~
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)