summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_zebra.c
diff options
context:
space:
mode:
authorYash Ranjan <ranjany@vmware.com>2021-06-02 05:45:18 -0700
committermergify-bot <noreply@mergify.io>2021-07-22 22:44:47 +0000
commita11729c7f3ea28cd902c1c12d1250df4abbf93be (patch)
treee7ae2735e45584c29a18dff254e90586c345cc5f /ospf6d/ospf6_zebra.c
parentbee5cf114b0d0c40c74cea00faa278aed4f1c6f1 (diff)
ospf6d: Set metric from default values when route-map metric not present
For redistribute commands if route map is set, then route takes it's metric values from the route map. But in the case that routemap is set but the metric for the route map is not, then the route metric is set to type-1. Check if the metric is set for the routemap. If not then set it as per redistributed default values (type 2) Signed-off-by: Yash Ranjan <ranjany@vmware.com> (cherry picked from commit f84504e686aa52591e0a3c211cfd1b5afe324756)
Diffstat (limited to 'ospf6d/ospf6_zebra.c')
0 files changed, 0 insertions, 0 deletions