From f53dde0e5921aafae0a00d993257ea7423b5ee97 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 25 Sep 2024 12:14:50 -0400 Subject: [PATCH] zebra: Add missing proto translations Add missing isis and eigrp proto translations. Signed-off-by: Donald Sharp --- zebra/zebra_snmp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zebra/zebra_snmp.c b/zebra/zebra_snmp.c index 16327e40441c..4b4f5232532b 100644 --- a/zebra/zebra_snmp.c +++ b/zebra/zebra_snmp.c @@ -229,6 +229,8 @@ static int proto_trans(int type) return 3; /* static route */ case ZEBRA_ROUTE_RIP: return 8; /* rip */ + case ZEBRA_ROUTE_ISIS: + return 9; case ZEBRA_ROUTE_RIPNG: return 1; /* shouldn't happen */ case ZEBRA_ROUTE_OSPF: @@ -237,6 +239,8 @@ static int proto_trans(int type) return 1; /* shouldn't happen */ case ZEBRA_ROUTE_BGP: return 14; /* bgp */ + case ZEBRA_ROUTE_EIGRP: + return 16; default: return 1; /* other */ }