summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_nhg.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2023-12-05 17:00:44 +0100
committerGitHub <noreply@github.com>2023-12-05 17:00:44 +0100
commit0a79e117d6f99d6123fbf39ec122ff1fa4c4f16d (patch)
treec8afc10679e14fcc93769090fd4f9c41f0a97fdf /zebra/zebra_nhg.c
parentMerge pull request #14939 from rampxxxx/isis_lsp_id (diff)
parent*: Introduce Local Host Routes to FRR (diff)
downloadfrr-0a79e117d6f99d6123fbf39ec122ff1fa4c4f16d.tar.xz
frr-0a79e117d6f99d6123fbf39ec122ff1fa4c4f16d.zip
Merge pull request #12600 from donaldsharp/local_routes
*: Introduce Local Host Routes to FRR
Diffstat (limited to 'zebra/zebra_nhg.c')
-rw-r--r--zebra/zebra_nhg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c
index c172f18cf..93758cca2 100644
--- a/zebra/zebra_nhg.c
+++ b/zebra/zebra_nhg.c
@@ -2135,7 +2135,8 @@ zebra_nhg_connected_ifindex(struct route_node *rn, struct route_entry *match,
* of those ifindexes match as well.
*/
RNODE_FOREACH_RE (rn, re) {
- if (re->type != ZEBRA_ROUTE_CONNECT)
+ if (re->type != ZEBRA_ROUTE_CONNECT &&
+ re->type != ZEBRA_ROUTE_LOCAL)
continue;
if (CHECK_FLAG(re->status, ROUTE_ENTRY_REMOVED))