diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-11-20 14:53:09 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-20 14:53:09 +0300 |
| commit | 587cf8f170af8597dd68efefe79ef9886e95e0bb (patch) | |
| tree | 440d5090e21527c7bbfaf038a3c31215f4fb0abe /ospfd/ospf_ext.c | |
| parent | 41eec96003cb60771105b5105072681e990f7b5c (diff) | |
| parent | d97e415dd5f2ffccf6e500f678b0efe25c909af3 (diff) | |
Merge pull request #9683 from volta-networks/sr-minor-fixes
ospfd, isisd: minor SR fixes
Diffstat (limited to 'ospfd/ospf_ext.c')
| -rw-r--r-- | ospfd/ospf_ext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_ext.c b/ospfd/ospf_ext.c index ea1506ea27..0e5a7e29c0 100644 --- a/ospfd/ospf_ext.c +++ b/ospfd/ospf_ext.c @@ -256,10 +256,10 @@ static uint32_t get_ext_link_instance_value(void) /* Lookup Extended Prefix/Links by ifp from OspfEXT struct iflist */ static struct ext_itf *lookup_ext_by_ifp(struct interface *ifp) { - struct listnode *node, *nnode; + struct listnode *node; struct ext_itf *exti; - for (ALL_LIST_ELEMENTS(OspfEXT.iflist, node, nnode, exti)) + for (ALL_LIST_ELEMENTS_RO(OspfEXT.iflist, node, exti)) if (exti->ifp == ifp) return exti; |
