Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
gbp: Coverity warnings for unitialized variables
[vpp.git]
/
src
/
plugins
/
gbp
/
gbp_api.c
diff --git
a/src/plugins/gbp/gbp_api.c
b/src/plugins/gbp/gbp_api.c
index
bbcd2d4
..
aea03d8
100644
(file)
--- a/
src/plugins/gbp/gbp_api.c
+++ b/
src/plugins/gbp/gbp_api.c
@@
-99,6
+99,8
@@
vl_api_gbp_endpoint_add_t_handler (vl_api_gbp_endpoint_add_t * mp)
mac_address_t mac;
int rv = 0, ii;
+ handle = INDEX_INVALID;
+
VALIDATE_SW_IF_INDEX (&(mp->endpoint));
gef = gbp_endpoint_flags_decode (mp->endpoint.flags), ips = NULL;