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].
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 05ff1e1..16102e5 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -1038,6 +1038,7 @@
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->distance = distance;
rib->flags = flags;
rib->metric = metric;
+ rib->table = vrf_id;
rib->nexthop_num = 0;
rib->uptime = time (NULL);