]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: snmp MIB bg4v2 fix invalid address Type value
authorFrancois Dumontet <francois.dumontet@6wind.com>
Wed, 13 Sep 2023 12:26:48 +0000 (14:26 +0200)
committerFrancois Dumontet <francois.dumontet@6wind.com>
Tue, 19 Sep 2023 12:26:41 +0000 (14:26 +0200)
commitf73eaedcc33a3178d3c8608da95c9800e756a0bd
tree4a72fc7a8e6581c50cefb1cdeb2c0bead84f9835
parent3ccb263c247469dc1378f3cfc890e75f6d43d0d6
bgpd: snmp MIB bg4v2 fix invalid address Type value

currently an snmpwalk gives:
BGP4V2-MIB::bgp4V2PeerFsmEstablishedTime.1.ipv6z.10.125.0.2 = Gauge32: 103 seconds
BGP4V2-MIB::bgp4V2PeerFsmEstablishedTime.2.dns.253.0.1.37.0.0.0.0.0.0.0.0.0.0.0.3 = Gauge32: 103 seconds

but ipv6z and dns are not the valid address type this must be ipv4 and
ipv6.

Signed-off-by: Francois Dumontet <francois.dumontet@6wind.com>
bgpd/bgp_snmp_bgp4v2.c