summaryrefslogtreecommitdiff
path: root/zebra/zebra_mpls_openbsd.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@openbsd.org>2017-03-03 12:42:52 -0300
committerGitHub <noreply@github.com>2017-03-03 12:42:52 -0300
commit83456d14388e96ab77f48bf8ad8eb9630dbe11a6 (patch)
tree0a6428f096e750ea787ff9d08333015a56627e37 /zebra/zebra_mpls_openbsd.c
parent5f413b14733f688870197b126d5d8c3e5470c118 (diff)
parent37fe77317cecd662eafaeab67aad02fed949b388 (diff)
Merge pull request #233 from donaldsharp/ecmp1
bgpd, zebra: Allow setting ecmp from daemon cli
Diffstat (limited to 'zebra/zebra_mpls_openbsd.c')
-rw-r--r--zebra/zebra_mpls_openbsd.c2
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 */