snmp_exporter icon indicating copy to clipboard operation
snmp_exporter copied to clipboard

generator/tree.go: Add support for subsequent address family in combi…

Open isodude opened this issue 3 years ago • 0 comments

…ned type

Since some MIB carry information about Safi (subsequent address family), it will cause the generator to bail out, even though there is a valid Subtype before.

E.g. Afi Safi Address

This is especially valid for Juniper BGP MIB.

I tried this out and it fixed all errors, and the output was the same as before.

Link: https://learningnetwork.cisco.com/s/question/0D53i00000KssMOCAZ/bgp-afi-and-safi

Signed-off-by: Josef Johansson [email protected]

isodude avatar Aug 02 '22 21:08 isodude