diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2024-09-25 12:09:40 -0400 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-25 18:51:29 +0000 |
| commit | b813bc06282ae7e0dfc30b88f45f6f0cad06d2b9 (patch) | |
| tree | 45bb381838200e3cdda10d9affa7c78371b874ea /lib/compiler.h | |
| parent | 9329b38f8c15324180f6aee794e2c075a2b93896 (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/compiler.h')
0 files changed, 0 insertions, 0 deletions
