summaryrefslogtreecommitdiff
path: root/lib/log.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2023-12-05 11:00:44 -0500
committerGitHub <noreply@github.com>2023-12-05 11:00:44 -0500
commit0a79e117d6f99d6123fbf39ec122ff1fa4c4f16d (patch)
treec8afc10679e14fcc93769090fd4f9c41f0a97fdf /lib/log.c
parent270c6c84b10a2fefe3b0a87429049bfa7d706bee (diff)
parentd4aa24ba7df066ee8a9f4bab5c1b4e9ff8474392 (diff)
Merge pull request #12600 from donaldsharp/local_routes
*: Introduce Local Host Routes to FRR
Diffstat (limited to 'lib/log.c')
-rw-r--r--lib/log.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/log.c b/lib/log.c
index 306c995c15..a92f9e8855 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -547,6 +547,8 @@ int proto_redistnum(int afi, const char *s)
return ZEBRA_ROUTE_KERNEL;
else if (strmatch(s, "connected"))
return ZEBRA_ROUTE_CONNECT;
+ else if (strmatch(s, "local"))
+ return ZEBRA_ROUTE_LOCAL;
else if (strmatch(s, "static"))
return ZEBRA_ROUTE_STATIC;
else if (strmatch(s, "rip"))
@@ -581,6 +583,8 @@ int proto_redistnum(int afi, const char *s)
return ZEBRA_ROUTE_KERNEL;
else if (strmatch(s, "connected"))
return ZEBRA_ROUTE_CONNECT;
+ else if (strmatch(s, "local"))
+ return ZEBRA_ROUTE_LOCAL;
else if (strmatch(s, "static"))
return ZEBRA_ROUTE_STATIC;
else if (strmatch(s, "ripng"))