aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-07-01 07:56:47 -0700
committerDave Barach <openvpp@barachs.net>2019-07-02 11:53:17 +0000
commit9a2082fb51693a25a17337f93795859fe5b760ec (patch)
tree67bb77dbef5fd746b90a33e725f7af42c96bda26 /src/vnet
parent617574dd4781cbeee3702aac70dd1137282da798 (diff)
lisp: init locator probed field in parser
Type: fix Reported by coverity. Change-Id: Ic84ac8c373c4c834bfddbf3ca08e2cfa2152e2ae Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/lisp-cp/lisp_types.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/lisp-cp/lisp_types.c b/src/vnet/lisp-cp/lisp_types.c
index a706832a249..5691933f972 100644
--- a/src/vnet/lisp-cp/lisp_types.c
+++ b/src/vnet/lisp-cp/lisp_types.c
@@ -1681,6 +1681,7 @@ locator_parse (void *b, locator_t * loc)
loc->state = status;
loc->local = 0;
+ loc->probed = 0;
loc->priority = LOC_PRIORITY (h);
loc->weight = LOC_WEIGHT (h);
loc->mpriority = LOC_MPRIORITY (h);