summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-09-25 12:09:40 -0400
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-09-25 18:52:53 +0000
commitc8cb6d56b75e2883a0bd6fa843118d2a499c913c (patch)
treee22831a28c86134d4196734c32421f1251768423 /lib/command_py.c
parentfb45d0eb6602a3784160cc5f24d5b44dc9689b41 (diff)
zebra: Correctly report metrics
Report the routes metric in IPFORWARDMETRIC1 and return -1 for the other metrics as required by the IP-FORWARD-MIB. inetCidrRouteMetric2 OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS current DESCRIPTION "An alternate routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's inetCidrRouteProto value. If this metric is not used, its value should be set to -1." DEFVAL { -1 } ::= { inetCidrRouteEntry 13 } I've included metric2 but it's the same for all of them. Signed-off-by: Donald Sharp <sharpd@nvidia.com> (cherry picked from commit e41ae0acc1940b568def5018efad3df019023f85)
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions