summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip6_forward.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ip/ip6_forward.h')
-rw-r--r--src/vnet/ip/ip6_forward.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/vnet/ip/ip6_forward.h b/src/vnet/ip/ip6_forward.h
index 44744c0c77b..7f6eb0c1184 100644
--- a/src/vnet/ip/ip6_forward.h
+++ b/src/vnet/ip/ip6_forward.h
@@ -108,11 +108,9 @@ ip6_lookup_inline (vlib_main_t * vm,
ip_lookup_set_buffer_fib_index (im->fib_index_by_sw_if_index, p0);
ip_lookup_set_buffer_fib_index (im->fib_index_by_sw_if_index, p1);
- lbi0 = ip6_fib_table_fwding_lookup (im,
- vnet_buffer (p0)->ip.fib_index,
+ lbi0 = ip6_fib_table_fwding_lookup (vnet_buffer (p0)->ip.fib_index,
dst_addr0);
- lbi1 = ip6_fib_table_fwding_lookup (im,
- vnet_buffer (p1)->ip.fib_index,
+ lbi1 = ip6_fib_table_fwding_lookup (vnet_buffer (p1)->ip.fib_index,
dst_addr1);
lb0 = load_balance_get (lbi0);
@@ -237,8 +235,7 @@ ip6_lookup_inline (vlib_main_t * vm,
ip0 = vlib_buffer_get_current (p0);
dst_addr0 = &ip0->dst_address;
ip_lookup_set_buffer_fib_index (im->fib_index_by_sw_if_index, p0);
- lbi0 = ip6_fib_table_fwding_lookup (im,
- vnet_buffer (p0)->ip.fib_index,
+ lbi0 = ip6_fib_table_fwding_lookup (vnet_buffer (p0)->ip.fib_index,
dst_addr0);
lb0 = load_balance_get (lbi0);