diff options
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | 2010-04-14 11:05:27 +0200 |
---|---|---|
committer | Greg Troxel <gdt@ir.bbn.com> | 2010-04-18 14:35:36 -0400 |
commit | 274d3f090df91fc5f8d4f26a2823634efa4af461 (patch) | |
tree | bcdbc9bc1eea38e2441d0c53152325e41940b122 /zebra/test_main.c | |
parent | 515b9424d4106ff5ccef4f18030a3ca69d38a178 (diff) |
ospfd: Make sure all external routes are updated.
Roman Hoog Antink <rha@open.ch> reports:
When adding a connected route (using vtysh, without restart) to the
redistribution access list of ospfd, while static routes already exist,
the update timer ospf_distribute_list_update_timer() is being run for
static routes only. That way, the connected route never appears in the
OSPF database, until quagga is completely restarted.
The update timer for connected routes is cancelled in
ospfd/ospfd_zebra.c:ospf_distribute_list_update():976, were a new timer
is scheduled for static routes, caused by the loop in ospf_filter_update().
* ospf_zebra.c: (ospf_distribute_list_update_timer) make it
refresh all external routes. This fixes the problem
reported by Roman.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Diffstat (limited to 'zebra/test_main.c')
0 files changed, 0 insertions, 0 deletions