Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fib: Table Replace
[vpp.git]
/
src
/
vnet
/
mfib
/
ip4_mfib.c
diff --git
a/src/vnet/mfib/ip4_mfib.c
b/src/vnet/mfib/ip4_mfib.c
index
d20d1f6
..
4da1be6
100644
(file)
--- a/
src/vnet/mfib/ip4_mfib.c
+++ b/
src/vnet/mfib/ip4_mfib.c
@@
-303,7
+303,7
@@
ip4_mfib_table_entry_remove (ip4_mfib_t *mfib,
if (NULL == result)
{
/*
if (NULL == result)
{
/*
- * removing a non-exist
a
nt entry. i'll allow it.
+ * removing a non-exist
e
nt entry. i'll allow it.
*/
}
else
*/
}
else
@@
-366,7
+366,7
@@
format_ip4_mfib_table_memory (u8 * s, va_list * args)
total_memory += mfib_size;
}));
total_memory += mfib_size;
}));
- s = format(s, "%=30s %=6d %=
8
ld\n",
+ s = format(s, "%=30s %=6d %=
12
ld\n",
"IPv4 multicast",
pool_elts(ip4_main.mfibs), total_memory);
"IPv4 multicast",
pool_elts(ip4_main.mfibs), total_memory);
@@
-506,9
+506,10
@@
ip4_show_mfib (vlib_main_t * vm,
continue;
}
continue;
}
- vlib_cli_output (vm, "%U, fib_index
%d
",
+ vlib_cli_output (vm, "%U, fib_index
:%d flags:%U
",
format_mfib_table_name, mfib->index, FIB_PROTOCOL_IP4,
format_mfib_table_name, mfib->index, FIB_PROTOCOL_IP4,
- mfib->index);
+ mfib->index,
+ format_mfib_table_flags, mfib_table->mft_flags);
/* Show summary? */
if (! verbose)
/* Show summary? */
if (! verbose)