summaryrefslogtreecommitdiff
path: root/zebra/zebra_snmp.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 /zebra/zebra_snmp.c
parent270c6c84b10a2fefe3b0a87429049bfa7d706bee (diff)
parentd4aa24ba7df066ee8a9f4bab5c1b4e9ff8474392 (diff)
Merge pull request #12600 from donaldsharp/local_routes
*: Introduce Local Host Routes to FRR
Diffstat (limited to 'zebra/zebra_snmp.c')
-rw-r--r--zebra/zebra_snmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_snmp.c b/zebra/zebra_snmp.c
index 8cab184953..1c6d58159e 100644
--- a/zebra/zebra_snmp.c
+++ b/zebra/zebra_snmp.c
@@ -223,6 +223,8 @@ static int proto_trans(int type)
return 1; /* other */
case ZEBRA_ROUTE_CONNECT:
return 2; /* local interface */
+ case ZEBRA_ROUTE_LOCAL:
+ return 2;
case ZEBRA_ROUTE_STATIC:
return 3; /* static route */
case ZEBRA_ROUTE_RIP: