aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/tcp/tcp_inlines.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-04-21 19:55:39 +0000
committerDave Barach <openvpp@barachs.net>2020-04-30 20:51:01 +0000
commit1a18d11eaf3b5dc2ca6d24b035ce3bb6347af6a1 (patch)
treee99001585924bec251a98152c93f92f49416a07b /src/vnet/tcp/tcp_inlines.h
parentbf39597d41da6d00e4d1a9954e42d16069069243 (diff)
tcp: fix v6 ll lookup fib
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ie4b2bca3b6b0ca6097152aab232991ca7935e442
Diffstat (limited to 'src/vnet/tcp/tcp_inlines.h')
-rw-r--r--src/vnet/tcp/tcp_inlines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/tcp/tcp_inlines.h b/src/vnet/tcp/tcp_inlines.h
index 2281cd3db7d..cb18860b1b1 100644
--- a/src/vnet/tcp/tcp_inlines.h
+++ b/src/vnet/tcp/tcp_inlines.h
@@ -286,7 +286,7 @@ tcp_input_lookup_buffer (vlib_buffer_t * b, u8 thread_index, u32 * error,
if (PREDICT_FALSE
(ip6_address_is_link_local_unicast (&ip6->dst_address)))
{
- ip4_main_t *im = &ip4_main;
+ ip6_main_t *im = &ip6_main;
fib_index = vec_elt (im->fib_index_by_sw_if_index,
vnet_buffer (b)->sw_if_index[VLIB_RX]);
}