summaryrefslogtreecommitdiff
path: root/ripd/rip_interface.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-11-15 09:50:32 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-11-16 08:45:28 -0500
commitdd127197f9f165c23ced8165b08b66b2509c5da9 (patch)
tree480948182dd1679ccff01ab529f7742672b1b739 /ripd/rip_interface.c
parent29df464089c7dbb76bd5d599a2d401bbb9206324 (diff)
ripd: Convert to using 'struct nexthop' for nexthop information
RIP is not using the nexthop data structure and as such when it does not fully understand when it receives some of the more exotic nexthop types what to do with it. This is the start of a series of commits to allow RIP to start understanding and properly displaying information about different nexthop types. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripd/rip_interface.c')
-rw-r--r--ripd/rip_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index a997ca5f2e..184f2f2b81 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -559,7 +559,7 @@ int rip_if_down(struct interface *ifp)
if ((list = rp->info) != NULL)
for (ALL_LIST_ELEMENTS(list, listnode, nextnode,
rinfo))
- if (rinfo->ifindex == ifp->ifindex)
+ if (rinfo->nh.ifindex == ifp->ifindex)
rip_ecmp_delete(rinfo);
ri = ifp->info;