diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-11-15 15:50:32 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-11-16 14:45:28 +0100 |
commit | dd127197f9f165c23ced8165b08b66b2509c5da9 (patch) | |
tree | 480948182dd1679ccff01ab529f7742672b1b739 /ripd/rip_interface.c | |
parent | Merge pull request #1444 from fatihusta/patch-1 (diff) | |
download | frr-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.c | 2 |
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; |