[zebra] Connected routes must always be added to main table
2006-07-27 Rumen Svobodnikov <rumen@telecoms.bg>
* connected.c: (connected_up_ipv4) interface connected routes always
go to table main (or otherwise they cannot be used by linux as
nexthops)
* zserv.c: (zread_ipv4_add) send route to the correct routing table
* zebra_rib.c (static_install_ipv4) set routing table
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 9851cf4..665e567 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -1482,6 +1482,7 @@
rib->distance = si->distance;
rib->metric = 0;
rib->nexthop_num = 0;
+ rib->table = zebrad.rtm_table_default;
switch (si->type)
{