From 5e30aceb3a619e71ae081c7dd55b40122e7bfbea Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Tue, 19 Dec 2017 08:26:27 -0500 Subject: VPP-1032: fix coverity warning in bier Change-Id: I0f8d2d9be78d4d936ed61538aee1b7207871347b Signed-off-by: Dave Barach --- src/vnet/bier/bier_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vnet') diff --git a/src/vnet/bier/bier_api.c b/src/vnet/bier/bier_api.c index 002ea0b051a..7d541c49182 100644 --- a/src/vnet/bier/bier_api.c +++ b/src/vnet/bier/bier_api.c @@ -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: -- cgit 1.2.3-korg