FIB: store the node type not the function pointer.
[vpp.git] / src / vnet / vxlan-gpe / vxlan_gpe.c
index 462c79a..b13a734 100644 (file)
@@ -183,9 +183,7 @@ vxlan_gpe_tunnel_restack_dpo(vxlan_gpe_tunnel_t * t)
 static vxlan_gpe_tunnel_t *
 vxlan_gpe_tunnel_from_fib_node (fib_node_t *node)
 {
-#if (CLIB_DEBUG > 0)
     ASSERT(FIB_NODE_TYPE_VXLAN_GPE_TUNNEL == node->fn_type);
-#endif
     return ((vxlan_gpe_tunnel_t*) (((char*)node) -
                               STRUCT_OFFSET_OF(vxlan_gpe_tunnel_t, node)));
 }