aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec/ipsec.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-05-13 23:07:43 -0700
committerFlorin Coras <florin.coras@gmail.com>2019-05-14 17:51:19 +0000
commit0224514c28bdee05ea11a89a721c810e5f99ede2 (patch)
treed7366e769a2ff8037d662f32eaabbda55d23f303 /src/vnet/ipsec/ipsec.c
parent3fb65bea2be23cc6ea8a93e840afc93cf89f9ea5 (diff)
IPSEC coverity fixes
Change-Id: I753fbce091c0ba1004690be5ddeb04f463cf95a3 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ipsec/ipsec.c')
-rw-r--r--src/vnet/ipsec/ipsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ipsec/ipsec.c b/src/vnet/ipsec/ipsec.c
index 4e69e734702..10b8bf65bd5 100644
--- a/src/vnet/ipsec/ipsec.c
+++ b/src/vnet/ipsec/ipsec.c
@@ -107,7 +107,7 @@ ipsec_add_feature (const char *arc_name,
u8 arc;
arc = vnet_get_feature_arc_index (arc_name);
- ASSERT (arc != ~0);
+ ASSERT (arc != (u8) ~ 0);
*out_feature_index = vnet_get_feature_index (arc, node_name);
}