diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-05-17 22:47:56 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-05-18 21:32:32 +0300 |
| commit | 1b839d486a8a392f9122bb5483b26540603e7550 (patch) | |
| tree | dc4023e0886cbc721c03226280c9e2464ac27964 /ripd/rip_main.c | |
| parent | 98f71533f6a5e2396c29e9ef002ee120dcd026e9 (diff) | |
ripd: Make sure we do not overuse higher values for ECMP count
Use a minimum value of a CLI version and a value of Zebra capabilities.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
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, |
