/*
* if the IGMP plugin is loaded this adds two more entries to the v4 MFIB
*/
- if (vlib_get_plugin_symbol("igmp_plugin.so", "igmp_listen"))
- PNBR += 2;
-
FIB_TEST((0 == fib_path_list_db_size()), "path list DB is empty");
FIB_TEST((PNBR == fib_path_list_pool_size()), "path list pool size is %d",
fib_path_list_pool_size());
/*
* if the IGMP plugin is loaded this adds two more entries to the v4 MFIB
*/
- if (vlib_get_plugin_symbol("igmp_plugin.so", "igmp_listen"))
- PNPS += 2;
-
FIB_TEST((0 == fib_path_list_db_size()), "path list DB is empty");
FIB_TEST((PNPS == fib_path_list_pool_size()), "path list pool size is %d",
fib_path_list_pool_size());
/*
* whilst the BFD session is not signalled, the adj is up
*/
- FIB_TEST(adj_is_up(ai_10_10_10_1), "Adj state up on uninit session");
+ FIB_TEST(!adj_is_up(ai_10_10_10_1), "Adj state down on uninit session");
/*
* bring the BFD session up
adj_bfd_notify(BFD_LISTEN_EVENT_UPDATE, &bfd_10_10_10_1);
FIB_TEST(!adj_is_up(ai_10_10_10_1), "Adj state down on DOWN session");
-
/*
* add an attached next hop FIB entry via the down adj
*/