Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
8d02085
)
lisp: fix unitialized ip prefix in cp unit test
36/20436/4
author
Florin Coras
<fcoras@cisco.com>
Mon, 1 Jul 2019 15:15:30 +0000
(08:15 -0700)
committer
Dave Barach
<openvpp@barachs.net>
Tue, 2 Jul 2019 11:52:14 +0000
(11:52 +0000)
Type: fix
Found by coverity.
Change-Id: Ibfc753d2c42219d275e3722d6ce1ef0cec189adf
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/plugins/unittest/lisp_cp_test.c
patch
|
blob
|
history
diff --git
a/src/plugins/unittest/lisp_cp_test.c
b/src/plugins/unittest/lisp_cp_test.c
index
c6405c2
..
cda2c52
100644
(file)
--- a/
src/plugins/unittest/lisp_cp_test.c
+++ b/
src/plugins/unittest/lisp_cp_test.c
@@
-304,6
+304,7
@@
test_lisp_msg_put_mreq_with_lcaf ()
ip_prefix_version (&ippref) = IP4;
ip4_address_t *ip = &ip_prefix_v4 (&ippref);
ip->as_u32 = 0x11223344;
+ ippref.len = 32;
gid_address_t g = {
.type = GID_ADDR_IP_PREFIX,