diff options
author | Dave Barach <dave@barachs.net> | 2017-12-19 08:26:27 -0500 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2017-12-19 16:10:53 +0000 |
commit | 5e30aceb3a619e71ae081c7dd55b40122e7bfbea (patch) | |
tree | 5aaa43c1453bf0e0c6faade47ced28419be85a7a /src | |
parent | 3e86a30a83fe39ff5673af3d11685ff508240d9d (diff) |
VPP-1032: fix coverity warning in bier
Change-Id: I0f8d2d9be78d4d936ed61538aee1b7207871347b
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/bier/bier_api.c | 4 |
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: |