summaryrefslogtreecommitdiffstats
path: root/src/vnet/bier/bier_api.c
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-12-19 08:26:27 -0500
committerDave Wallace <dwallacelf@gmail.com>2017-12-19 16:10:53 +0000
commit5e30aceb3a619e71ae081c7dd55b40122e7bfbea (patch)
tree5aaa43c1453bf0e0c6faade47ced28419be85a7a /src/vnet/bier/bier_api.c
parent3e86a30a83fe39ff5673af3d11685ff508240d9d (diff)
VPP-1032: fix coverity warning in bier
Change-Id: I0f8d2d9be78d4d936ed61538aee1b7207871347b Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/bier/bier_api.c')
-rw-r--r--src/vnet/bier/bier_api.c4
1 files changed, 2 insertions, 2 deletions
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: