mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 00:25:01 +00:00
[zebra] rib loop check for RIB_ENTRY_REMOVED checks wrong var
2007-06-25 Denis Ovsienko * zebra_rib.c: (rib_add_ipv4_multipath) Loop through RIB is using 'same' variable, but RIB_ENTRY_REMOVED check is testing the constant 'rib' variable, fix. Impact unknown at this point.
This commit is contained in:
parent
fbf24544a2
commit
0b8c4f1d81
@ -1,3 +1,10 @@
|
||||
2007-06-25 Denis Ovsienko
|
||||
|
||||
* zebra_rib.c: (rib_add_ipv4_multipath) Loop through RIB
|
||||
is using 'same' variable, but RIB_ENTRY_REMOVED check
|
||||
is testing the constant 'rib' variable, fix. Impact
|
||||
unknown at this point.
|
||||
|
||||
2007-05-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
|
||||
|
||||
* zebra_routemap.c: (route_set_src_compile) Use '#ifdef HAVE_IPV6'
|
||||
|
@ -1393,7 +1393,7 @@ rib_add_ipv4_multipath (struct prefix_ipv4 *p, struct rib *rib)
|
||||
withdraw. */
|
||||
for (same = rn->info; same; same = same->next)
|
||||
{
|
||||
if (CHECK_FLAG (rib->status, RIB_ENTRY_REMOVED))
|
||||
if (CHECK_FLAG (same->status, RIB_ENTRY_REMOVED))
|
||||
continue;
|
||||
|
||||
if (same->type == rib->type && same->table == rib->table
|
||||
|
Loading…
Reference in New Issue
Block a user