Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
IPSEC coverity fixes
[vpp.git]
/
src
/
vnet
/
ipsec
/
ipsec.c
diff --git
a/src/vnet/ipsec/ipsec.c
b/src/vnet/ipsec/ipsec.c
index
4e69e73
..
10b8bf6
100644
(file)
--- 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);
}