summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip6_ll_table.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-10-19 14:47:20 +0000
committerDamjan Marion <dmarion@me.com>2020-10-19 20:59:54 +0000
commit5a59b2bac48611a316adf128bdb0e1e2fe889656 (patch)
tree37e51dbf5d97fda9d9deee2d08e4b18a29981c5f /src/vnet/ip/ip6_ll_table.c
parent710d78074e07ffb5006ad01a0da4c1b6dc3de38b (diff)
ip: Move the IP6 fib into ip6_[m]fib.c
Type: improvement reduce the compile time by moving the bihash includes out of ip[46].h Signed-off-by: Neale Ranns <nranns@cisco.com> Change-Id: I6b9216e10aff1013071f9238b3e1ebbdd205bd80
Diffstat (limited to 'src/vnet/ip/ip6_ll_table.c')
-rw-r--r--src/vnet/ip/ip6_ll_table.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vnet/ip/ip6_ll_table.c b/src/vnet/ip/ip6_ll_table.c
index 75489ea08e3..e4010bc43c4 100644
--- a/src/vnet/ip/ip6_ll_table.c
+++ b/src/vnet/ip/ip6_ll_table.c
@@ -232,7 +232,6 @@ ip6_ll_show_fib (vlib_main_t * vm,
unformat_input_t * input, vlib_cli_command_t * cmd)
{
count_routes_in_fib_at_prefix_length_arg_t _ca, *ca = &_ca;
- ip6_main_t *im6 = &ip6_main;
fib_table_t *fib_table;
int verbose, matching;
ip6_address_t matching_address;
@@ -302,7 +301,7 @@ ip6_ll_show_fib (vlib_main_t * vm,
if (!verbose)
{
clib_bihash_24_8_t *h =
- &im6->ip6_table[IP6_FIB_TABLE_NON_FWDING].ip6_hash;
+ &ip6_fib_table[IP6_FIB_TABLE_NON_FWDING].ip6_hash;
int len;
vlib_cli_output (vm, "%=20s%=16s", "Prefix length", "Count");