From: paul Date: Sun, 2 Nov 2003 07:28:05 +0000 (+0000) Subject: 2003-11-02 Krzysztof Oledzki X-Git-Tag: frr-2.0-rc1~3862 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=b5f4502146e38ee34efa5336ec82b4501a1cf705;p=matthieu%2Ffrr.git 2003-11-02 Krzysztof Oledzki * 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 05ff1e1023..16102e54e7 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -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);