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: store the node type not the function pointer.
[vpp.git]
/
src
/
vnet
/
mfib
/
mfib_entry.c
diff --git
a/src/vnet/mfib/mfib_entry.c
b/src/vnet/mfib/mfib_entry.c
index
aaecf0f
..
6c356c6
100644
(file)
--- a/
src/vnet/mfib/mfib_entry.c
+++ b/
src/vnet/mfib/mfib_entry.c
@@
-238,9
+238,7
@@
format_mfib_entry (u8 * s, va_list * args)
static mfib_entry_t*
mfib_entry_from_fib_node (fib_node_t *node)
{
-#if CLIB_DEBUG > 0
ASSERT(FIB_NODE_TYPE_MFIB_ENTRY == node->fn_type);
-#endif
return ((mfib_entry_t*)node);
}