diff options
author | Martin Mares <mj@ucw.cz> | 2000-01-17 12:40:00 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-01-17 12:40:00 +0000 |
commit | fb89b1a4ced5f3d847ecbc1d4b86a0cb47564ef7 (patch) | |
tree | d0f7247e1d9dda2da9abe4f6c2aa36e9db7b0894 | |
parent | 295ae16d4ddf4b714e716a0a1537f40c54f1119c (diff) |
Removed point-to-point tunnel hack as it breaks ordinary PtP interfaces.
I'll find a better solution soon.
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | sysdep/linux/netlink/netlink.c | 5 |
2 files changed, 1 insertions, 5 deletions
@@ -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 11973e93..54e5cd8b 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) |