tcp: fix v6 ll lookup fib 25/26625/3
authorFlorin Coras <fcoras@cisco.com>
Tue, 21 Apr 2020 19:55:39 +0000 (19:55 +0000)
committerDave Barach <openvpp@barachs.net>
Thu, 30 Apr 2020 20:51:01 +0000 (20:51 +0000)
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ie4b2bca3b6b0ca6097152aab232991ca7935e442

src/vnet/tcp/tcp_inlines.h

index 2281cd3..cb18860 100644 (file)
@@ -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]);
            }