2003-11-02 Krzysztof Oledzki <oleq@ans.pl>

* zebra/zebra_rib.c: Revert patch (dating from zebra.org) which
          caused zebra to read all routes in all tables, rather than just
          the main table. See [quagga-dev 280].
This commit is contained in:
paul 2003-11-02 07:28:05 +00:00
parent af5cd0a52c
commit b5f4502146

View File

@ -1038,6 +1038,7 @@ rib_add_ipv4 (int type, int flags, struct prefix_ipv4 *p,
rib->distance = distance;
rib->flags = flags;
rib->metric = metric;
rib->table = vrf_id;
rib->nexthop_num = 0;
rib->uptime = time (NULL);
@ -1682,6 +1683,7 @@ rib_add_ipv6 (int type, int flags, struct prefix_ipv6 *p,
rib->distance = distance;
rib->flags = flags;
rib->metric = metric;
rib->table = vrf_id;
rib->nexthop_num = 0;
rib->uptime = time (NULL);