aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-07-01 08:15:30 -0700
committerDave Barach <openvpp@barachs.net>2019-07-02 11:52:14 +0000
commit7beaa3df427cb61141ed36307f17e981cdafcd53 (patch)
treee1e791138e250b377bd752318b6f9092daa2c6f2 /src/plugins
parent8d020854c8bd5b1d88658cdfedf912a082f0b65b (diff)
lisp: fix unitialized ip prefix in cp unit test
Type: fix Found by coverity. Change-Id: Ibfc753d2c42219d275e3722d6ce1ef0cec189adf Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/unittest/lisp_cp_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/unittest/lisp_cp_test.c b/src/plugins/unittest/lisp_cp_test.c
index c6405c2ca33..cda2c52e88a 100644
--- 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,