aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/control.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-01-29 16:42:20 -0800
committerDave Barach <openvpp@barachs.net>2017-01-30 13:49:07 +0000
commit2743cc40de083389e594b7c871ba9c90169358f7 (patch)
treee9ffdd87d03d3a723f4635f202ddffc290b993c2 /src/vnet/lisp-cp/control.c
parent5842c78b20329e4072328fa3b71a2411dbbcebfc (diff)
Fix LISP Coverity warnings
Change-Id: Iaca2ff453872e638ee83b11fc16472e44deb9a7e Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp/control.c')
-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 c3406d8c6f2..8d37cabc05c 100644
--- a/src/vnet/lisp-cp/control.c
+++ b/src/vnet/lisp-cp/control.c
@@ -1321,6 +1321,7 @@ vnet_lisp_use_petr (ip_address_t * ip, u8 is_add)
gid_address_from_ip (&loc.address, ip);
loc.priority = 1;
loc.state = loc.weight = 1;
+ loc.local = 0;
ls_args->is_add = 1;
ls_args->index = ~0;