diff options
author | Florin Coras <fcoras@cisco.com> | 2017-03-09 14:39:54 -0800 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-03-10 08:50:48 +0000 |
commit | b69259a55d6ae4a0133eaa725edfea246d905f8b (patch) | |
tree | f4f964a8c6b3b416770e19d69ce4cb2db530376e /src/vnet/lisp-cp | |
parent | 73ee23cecbe2806569132de64f6680297544cbe9 (diff) |
VPP-608 Fix LISP warning
Change-Id: Iaa4fb2bc2230c1a99c518a37039cd91648dc19c0
Signed-off-by: Florin Coras <fcoras@cisco.com>
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 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; |