diff options
| author | Russ White <russ@riw.us> | 2023-05-23 08:25:46 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-23 08:25:46 -0400 |
| commit | 6a88c7a87e01dab8cc56e669aa04447d6ac954f2 (patch) | |
| tree | 4a5d7874ed42235c55b7d32680bade83edfa555b /ripd/rip_main.c | |
| parent | 7b7da41def4524670ff3ef5041b1eb4084d133bb (diff) | |
| parent | 1b839d486a8a392f9122bb5483b26540603e7550 (diff) | |
Merge pull request #13548 from opensourcerouting/fix/use_min_value_of_cli_zebra_cap_ecmp
ripd: Make sure we do not overuse higher values for ECMP count
Diffstat (limited to 'ripd/rip_main.c')
| -rw-r--r-- | ripd/rip_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ripd/rip_main.c b/ripd/rip_main.c index 0e26662cdb..ac358ebbaf 100644 --- a/ripd/rip_main.c +++ b/ripd/rip_main.c @@ -34,6 +34,8 @@ static struct option longopts[] = {{0}}; /* ripd privileges */ zebra_capabilities_t _caps_p[] = {ZCAP_NET_RAW, ZCAP_BIND, ZCAP_SYS_ADMIN}; +uint32_t zebra_ecmp_count = MULTIPATH_NUM; + struct zebra_privs_t ripd_privs = { #if defined(FRR_USER) .user = FRR_USER, |
