diff options
author | Neale Ranns <nranns@cisco.com> | 2016-10-12 13:51:05 +0100 |
---|---|---|
committer | Chris Luke <chris_luke@comcast.com> | 2016-10-12 17:51:06 +0000 |
commit | 5899fdedad93eec01088dca980e9f5fd70aae9c4 (patch) | |
tree | 1e557d6c66c5c80b9f62a6141d095a78969e8330 /vnet/vnet/ip/ip4_forward.c | |
parent | 69a9b76d648a108e0a7fad4404b218ebdd6a8ea5 (diff) |
Coverity warnings in new FIB code (VPP-484)
Change-Id: Ie221e246dd8c6a1b3c76e7aa85924762d4397782
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'vnet/vnet/ip/ip4_forward.c')
-rw-r--r-- | vnet/vnet/ip/ip4_forward.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/ip/ip4_forward.c b/vnet/vnet/ip/ip4_forward.c index 321716da2b1..c6a6c72d655 100644 --- a/vnet/vnet/ip/ip4_forward.c +++ b/vnet/vnet/ip/ip4_forward.c @@ -193,7 +193,7 @@ ip4_lookup_inline (vlib_main_t * vm, hash_c0 = vnet_buffer (p0)->ip.flow_hash = ip4_compute_flow_hash (ip0, flow_hash_config0); } - if (PREDICT_FALSE(lb0->lb_n_buckets > 1)) + if (PREDICT_FALSE(lb1->lb_n_buckets > 1)) { flow_hash_config1 = lb1->lb_hash_config; hash_c1 = vnet_buffer (p1)->ip.flow_hash = |