Removed point-to-point tunnel hack as it breaks ordinary PtP interfaces.

I'll find a better solution soon.
This commit is contained in:
Martin Mares 2000-01-17 12:40:00 +00:00
parent 295ae16d4d
commit fb89b1a4ce
2 changed files with 1 additions and 5 deletions

1
TODO
View file

@ -44,7 +44,6 @@ show <name> # show everything you know about symbol <name>
static ??? [<name>] static ??? [<name>]
symbols symbols
- showing of routing table as seen by given protocol - showing of routing table as seen by given protocol
- showing of deleted routing tables and filters
Roadmap Roadmap
~~~~~~~ ~~~~~~~

View file

@ -301,12 +301,9 @@ nl_parse_link(struct nlmsghdr *h, int scan)
fl = i->ifi_flags; fl = i->ifi_flags;
if (fl & IFF_UP) if (fl & IFF_UP)
f.flags |= IF_LINK_UP; f.flags |= IF_LINK_UP;
/* FIXME: Unnumberedness of tunnels */
if (fl & IFF_POINTOPOINT) if (fl & IFF_POINTOPOINT)
#if 0
f.flags |= IF_UNNUMBERED | IF_MULTICAST; f.flags |= IF_UNNUMBERED | IF_MULTICAST;
#else /* FIXME: Are tunnels always unnumbered? */
f.flags |= IF_MULTICAST;
#endif
if (fl & IFF_LOOPBACK) if (fl & IFF_LOOPBACK)
f.flags |= IF_LOOPBACK | IF_IGNORE; f.flags |= IF_LOOPBACK | IF_IGNORE;
if (fl & IFF_BROADCAST) if (fl & IFF_BROADCAST)