diff options
author | Neale Ranns <nranns@cisco.com> | 2016-10-18 14:25:34 +0100 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2016-10-18 14:26:27 +0100 |
commit | 45c3850126f4d0c64f40762f84b7e104777218d5 (patch) | |
tree | 7042247f69293938fe52d3e7e7341f8b53d07d29 /vnet | |
parent | 370dde3e7efd3d1478373950171c6f5b8ebfe023 (diff) |
Load-balancing in IP4 dual loop typos. (VPP-501)
Change-Id: I7b70d52d11c228ec5e790632a91b042b34b38d28
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'vnet')
-rw-r--r-- | vnet/vnet/ip/ip4_forward.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnet/vnet/ip/ip4_forward.c b/vnet/vnet/ip/ip4_forward.c index 2c0c4b831e2..0ad87289519 100644 --- a/vnet/vnet/ip/ip4_forward.c +++ b/vnet/vnet/ip/ip4_forward.c @@ -217,7 +217,7 @@ ip4_lookup_inline (vlib_main_t * vm, (lb0->lb_n_buckets_minus_1))); dpo1 = load_balance_get_bucket_i(lb1, (hash_c1 & - (lb0->lb_n_buckets_minus_1))); + (lb1->lb_n_buckets_minus_1))); next0 = dpo0->dpoi_next_node; vnet_buffer (p0)->ip.adj_index[VLIB_TX] = dpo0->dpoi_index; @@ -2807,7 +2807,7 @@ ip4_lookup_multicast (vlib_main_t * vm, (lb0->lb_n_buckets_minus_1))); dpo1 = load_balance_get_bucket_i(lb1, (vnet_buffer (p1)->ip.flow_hash & - (lb0->lb_n_buckets_minus_1))); + (lb1->lb_n_buckets_minus_1))); next0 = dpo0->dpoi_next_node; vnet_buffer (p0)->ip.adj_index[VLIB_TX] = dpo0->dpoi_index; |