summaryrefslogtreecommitdiffstats
path: root/ripd/rip_interface.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-11-15 15:50:32 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-11-16 14:45:28 +0100
commitdd127197f9f165c23ced8165b08b66b2509c5da9 (patch)
tree480948182dd1679ccff01ab529f7742672b1b739 /ripd/rip_interface.c
parentMerge pull request #1444 from fatihusta/patch-1 (diff)
downloadfrr-dd127197f9f165c23ced8165b08b66b2509c5da9.tar.xz
frr-dd127197f9f165c23ced8165b08b66b2509c5da9.zip
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 a997ca5f2..184f2f2b8 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;