diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-01-05 22:07:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-05 22:07:00 +0200 |
| commit | 00a93d03a40413ece3b59f54a0d5e37505156da6 (patch) | |
| tree | d019e8f3ad7a86d57453f638697064b9f9f5b719 /pimd/pim_zebra.c | |
| parent | b833cc1ff473e5de43a6c33b520024c943db180c (diff) | |
| parent | 6b5122a0be905e7e42b1a14586b60997fca5ad76 (diff) | |
Merge pull request #5601 from donaldsharp/pim_rb
Pim rb
Diffstat (limited to 'pimd/pim_zebra.c')
| -rw-r--r-- | pimd/pim_zebra.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c index 0417d0d063..06507b1f4c 100644 --- a/pimd/pim_zebra.c +++ b/pimd/pim_zebra.c @@ -392,16 +392,13 @@ static void pim_zebra_vxlan_replay(void) void pim_scan_oil(struct pim_instance *pim) { - struct listnode *node; - struct listnode *nextnode; struct channel_oil *c_oil; pim->scan_oil_last = pim_time_monotonic_sec(); ++pim->scan_oil_events; - for (ALL_LIST_ELEMENTS(pim->channel_oil_list, node, nextnode, c_oil)) { + frr_each (rb_pim_oil, &pim->channel_oil_head, c_oil) pim_upstream_mroute_iif_update(c_oil, __func__); - } } static int on_rpf_cache_refresh(struct thread *t) |
