From: Donald Sharp Date: Wed, 25 Sep 2024 16:14:50 +0000 (-0400) Subject: zebra: Add missing proto translations X-Git-Tag: docker/10.0.3~47^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=1aca23467ad7641239a2944729024789c61b2032;p=matthieu%2Ffrr.git zebra: Add missing proto translations Add missing isis and eigrp proto translations. Signed-off-by: Donald Sharp (cherry picked from commit f53dde0e5921aafae0a00d993257ea7423b5ee97) --- diff --git a/zebra/zebra_snmp.c b/zebra/zebra_snmp.c index 16327e4044..4b4f523253 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 */ }