lisp: init locator probed field in parser 35/20435/2
authorFlorin Coras <fcoras@cisco.com>
Mon, 1 Jul 2019 14:56:47 +0000 (07:56 -0700)
committerDave Barach <openvpp@barachs.net>
Tue, 2 Jul 2019 11:53:17 +0000 (11:53 +0000)
Type: fix

Reported by coverity.

Change-Id: Ic84ac8c373c4c834bfddbf3ca08e2cfa2152e2ae
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vnet/lisp-cp/lisp_types.c

index a706832..5691933 100644 (file)
@@ -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);