diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-11-03 19:59:19 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-01 07:58:32 -0500 |
| commit | 37fe77317cecd662eafaeab67aad02fed949b388 (patch) | |
| tree | 30c22ca2369a697a07d9a00457460515ea4935e5 /zebra/zebra_mpls_openbsd.c | |
| parent | f9c5f9f77107e82313661a50a6dc4e58906b799f (diff) | |
bgpd, zebra: Allow setting ecmp from daemon cli
When starting up bgp and zebra now, you can specify
-e <number> or --ecmp <number>
and that number will be used as the maximum ecmp
that can be used.
The <number specified must be >= 1 and <= MULTIPATH_NUM
that Quagga is compiled with.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_mpls_openbsd.c')
| -rw-r--r-- | zebra/zebra_mpls_openbsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_mpls_openbsd.c b/zebra/zebra_mpls_openbsd.c index 1127f568c0..b68b03e0c4 100644 --- a/zebra/zebra_mpls_openbsd.c +++ b/zebra/zebra_mpls_openbsd.c @@ -138,7 +138,7 @@ kernel_lsp_cmd (int action, zebra_lsp_t *lsp) if (!nexthop) continue; - if (MULTIPATH_NUM != 0 && nexthop_num >= MULTIPATH_NUM) + if (nexthop_num >= multipath_num) break; /* XXX */ |
