diff options
author | Florin Coras <fcoras@cisco.com> | 2020-02-20 16:11:23 +0000 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2020-08-12 23:14:21 +0000 |
commit | f1f51770f37c963216b8d4ef893b0350a640a5ba (patch) | |
tree | 45e150c54b78b3bd435dbbcb87f07b049375bc1b /src/vnet/lisp-cp | |
parent | e1341468e6ee45f76c58454d046bba2d564b7012 (diff) |
lisp: fix coverity warnings
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ie060b25b5e8c85d9b2037e300723a2b6023c65d1
(cherry picked from commit 6ce954f8e4446472689146024126ba42da182aa9)
Diffstat (limited to 'src/vnet/lisp-cp')
-rw-r--r-- | src/vnet/lisp-cp/control.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/lisp-cp/control.c b/src/vnet/lisp-cp/control.c index 420a6db4e5a..d2cc8da717b 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; } /** |