diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-09-28 12:44:31 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-10-12 13:35:38 -0400 |
| commit | 2d6a0128dd94534541972be8e750914e45029153 (patch) | |
| tree | 6a5a4a8fe30f181c39f2b4b6056e73c111d1f06c /zebra/zebra_router.c | |
| parent | 35718a2aeaeacdf2fec3eca50f614337219244ff (diff) | |
zebra: Make ucmp scale value owned by zrouter
The weight scale value might be useful to have it
change it's behavior at a later time or controlled
by something depending on how FRR is compiled/ran.
Let's start that process
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_router.c')
| -rw-r--r-- | zebra/zebra_router.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_router.c b/zebra/zebra_router.c index 4caaf8a9e2..5299716091 100644 --- a/zebra/zebra_router.c +++ b/zebra/zebra_router.c @@ -323,6 +323,8 @@ void zebra_router_init(bool asic_offload, bool notify_on_ack, #endif zrouter.asic_notification_nexthop_control = false; + zrouter.nexthop_weight_scale_value = 255; + #ifdef HAVE_SCRIPTING zebra_script_init(); #endif |
