summaryrefslogtreecommitdiff
path: root/eigrpd/eigrp_routemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'eigrpd/eigrp_routemap.c')
-rw-r--r--eigrpd/eigrp_routemap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/eigrpd/eigrp_routemap.c b/eigrpd/eigrp_routemap.c
index 420cb6cb41..605a1ae4b8 100644
--- a/eigrpd/eigrp_routemap.c
+++ b/eigrpd/eigrp_routemap.c
@@ -43,7 +43,6 @@ void eigrp_if_rmap_update(struct if_rmap *if_rmap)
{
struct interface *ifp;
struct eigrp_interface *ei, *ei2;
- struct listnode *node, *nnode;
struct route_map *rmap;
struct eigrp *e;
@@ -53,7 +52,7 @@ void eigrp_if_rmap_update(struct if_rmap *if_rmap)
ei = NULL;
e = eigrp_lookup();
- for (ALL_LIST_ELEMENTS(e->eiflist, node, nnode, ei2)) {
+ frr_each (eigrp_interface_hash, &e->eifs, ei2) {
if (strcmp(ei2->ifp->name, ifp->name) == 0) {
ei = ei2;
break;