summaryrefslogtreecommitdiffstats
path: root/eigrpd/eigrp_vty.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2017-09-05 04:41:17 +0200
committerGitHub <noreply@github.com>2017-09-05 04:41:17 +0200
commit8972cae0fd5401cbb135faf934f03c26c6122855 (patch)
tree7a86f9830bcf4ae4bdc9f74b37e08bd60096847a /eigrpd/eigrp_vty.c
parentMerge pull request #1086 from donaldsharp/zebra_import (diff)
parenteigrpd: eigrp_neighbor_entry to eigrp_nexthop_entry (diff)
downloadfrr-8972cae0fd5401cbb135faf934f03c26c6122855.tar.xz
frr-8972cae0fd5401cbb135faf934f03c26c6122855.zip
Merge pull request #1051 from donaldsharp/plists
Refactor Access and Prefix Lists application
Diffstat (limited to 'eigrpd/eigrp_vty.c')
-rw-r--r--eigrpd/eigrp_vty.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/eigrpd/eigrp_vty.c b/eigrpd/eigrp_vty.c
index d4d3bb369..01407a746 100644
--- a/eigrpd/eigrp_vty.c
+++ b/eigrpd/eigrp_vty.c
@@ -464,7 +464,7 @@ DEFUN (show_ip_eigrp_topology,
struct eigrp *eigrp;
struct listnode *node, *node2;
struct eigrp_prefix_entry *tn;
- struct eigrp_neighbor_entry *te;
+ struct eigrp_nexthop_entry *te;
int first;
eigrp = eigrp_lookup();
@@ -480,12 +480,12 @@ DEFUN (show_ip_eigrp_topology,
for (ALL_LIST_ELEMENTS_RO(tn->entries, node2, te)) {
if (argc == 5
|| (((te->flags
- & EIGRP_NEIGHBOR_ENTRY_SUCCESSOR_FLAG)
- == EIGRP_NEIGHBOR_ENTRY_SUCCESSOR_FLAG)
+ & EIGRP_NEXTHOP_ENTRY_SUCCESSOR_FLAG)
+ == EIGRP_NEXTHOP_ENTRY_SUCCESSOR_FLAG)
|| ((te->flags
- & EIGRP_NEIGHBOR_ENTRY_FSUCCESSOR_FLAG)
- == EIGRP_NEIGHBOR_ENTRY_FSUCCESSOR_FLAG))) {
- show_ip_eigrp_neighbor_entry(vty, eigrp, te,
+ & EIGRP_NEXTHOP_ENTRY_FSUCCESSOR_FLAG)
+ == EIGRP_NEXTHOP_ENTRY_FSUCCESSOR_FLAG))) {
+ show_ip_eigrp_nexthop_entry(vty, eigrp, te,
&first);
first = 0;
}