aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-02-20 16:11:23 +0000
committerDave Barach <openvpp@barachs.net>2020-02-20 17:48:46 +0000
commit6ce954f8e4446472689146024126ba42da182aa9 (patch)
tree85a70d37a413c2cfc550bda0e304d32ed0212207 /src/vnet/lisp-cp
parentf58571ee6f7b0460392ee6a7f86be2e07e747390 (diff)
lisp: fix coverity warnings
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ie060b25b5e8c85d9b2037e300723a2b6023c65d1
Diffstat (limited to 'src/vnet/lisp-cp')
-rw-r--r--src/vnet/lisp-cp/control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/lisp-cp/control.c b/src/vnet/lisp-cp/control.c
index 78750b962df..e4015c76fce 100644
--- a/src/vnet/lisp-cp/control.c
+++ b/src/vnet/lisp-cp/control.c
@@ -142,6 +142,7 @@ ip_address_to_fib_prefix (const ip_address_t * addr, fib_prefix_t * prefix)
prefix->fp_proto = FIB_PROTOCOL_IP6;
memcpy (&prefix->fp_addr.ip6, &addr->ip, sizeof (prefix->fp_addr.ip6));
}
+ prefix->___fp___pad = 0;
}
/**