fix coverity warning in bier
@@ -236,11 +236,11 @@ vl_api_bier_route_add_del_t_handler (vl_api_bier_route_add_del_t * mp)
if (mp->br_is_add)
{
- bier_table_route_add(&bti, ntohs(mp->br_bp), brpaths);
+ bier_table_route_add(&bti, bp, brpaths);
}
else
{
- bier_table_route_remove(&bti, ntohs(mp->br_bp), brpaths);
+ bier_table_route_remove(&bti, bp, brpaths);
}
done:
