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
+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
+
2006-07-02 Paul Jakma <paul.jakma@sun.com>
* rt_netlink.c: (netlink_interface_addr) Fix CID #104, can not
if (prefix_ipv4_any (&p))
return;
- rib_add_ipv4 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, 0,
+ rib_add_ipv4 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, RT_TABLE_MAIN,
ifp->metric, 0);
rib_update ();
rib->distance = si->distance;
rib->metric = 0;
rib->nexthop_num = 0;
+ rib->table = zebrad.rtm_table_default;
switch (si->type)
{
if (CHECK_FLAG (message, ZAPI_MESSAGE_METRIC))
rib->metric = stream_getl (s);
+ /* Table */
+ rib->table=zebrad.rtm_table_default;
rib_add_ipv4_multipath (&p, rib);
return 0;
}