Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ip: only install IPv6 prefixes in FIB when the interface is up
[vpp.git]
/
src
/
vnet
/
ip
/
ip6_ll_table.c
diff --git
a/src/vnet/ip/ip6_ll_table.c
b/src/vnet/ip/ip6_ll_table.c
index
67d05ed
..
a7440ea
100644
(file)
--- a/
src/vnet/ip/ip6_ll_table.c
+++ b/
src/vnet/ip/ip6_ll_table.c
@@
-298,16
+298,16
@@
ip6_ll_show_fib (vlib_main_t * vm,
/* Show summary? */
if (!verbose)
{
/* Show summary? */
if (!verbose)
{
-
BVT (clib_bihash) *
h =
+
clib_bihash_24_8_t *
h =
&im6->ip6_table[IP6_FIB_TABLE_NON_FWDING].ip6_hash;
int len;
vlib_cli_output (vm, "%=20s%=16s", "Prefix length", "Count");
&im6->ip6_table[IP6_FIB_TABLE_NON_FWDING].ip6_hash;
int len;
vlib_cli_output (vm, "%=20s%=16s", "Prefix length", "Count");
- memset (ca, 0, sizeof (*ca));
+
clib_
memset (ca, 0, sizeof (*ca));
ca->fib_index = fib_index;
ca->fib_index = fib_index;
- BV (clib_bihash_foreach_key_value_pair)
+ clib_bihash_foreach_key_value_pair_24_8
(h, count_routes_in_fib_at_prefix_length, ca);
for (len = 128; len >= 0; len--)
(h, count_routes_in_fib_at_prefix_length, ca);
for (len = 128; len >= 0; len--)