aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-03-09 14:39:54 -0800
committerDamjan Marion <dmarion.lists@gmail.com>2017-03-10 08:50:48 +0000
commitb69259a55d6ae4a0133eaa725edfea246d905f8b (patch)
treef4f964a8c6b3b416770e19d69ce4cb2db530376e
parent73ee23cecbe2806569132de64f6680297544cbe9 (diff)
VPP-608 Fix LISP warning
Change-Id: Iaa4fb2bc2230c1a99c518a37039cd91648dc19c0 Signed-off-by: Florin Coras <fcoras@cisco.com>
-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 c7853ca73fb..5c90c03b9f0 100644
--- a/src/vnet/lisp-cp/control.c
+++ b/src/vnet/lisp-cp/control.c
@@ -1346,6 +1346,7 @@ vnet_lisp_use_petr (ip_address_t * ip, u8 is_add)
if (is_add)
{
/* Create dummy petr locator-set */
+ memset (&loc, 0, sizeof (loc));
gid_address_from_ip (&loc.address, ip);
loc.priority = 1;
loc.state = loc.weight = 1;