summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-01-16 00:57:02 -0800
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-16 21:30:54 +0000
commit42e480d6e5ac5af0b5f7b9bc6b8d40766be5f873 (patch)
tree83a85869957e06b1845d0d4e3d250a143dc0fec0
parentca80025805230b34daa10fc1eb16600080c2a54f (diff)
Fix LISP coverity warning
- uninitialized field in locator pair Change-Id: I6832eaf5217eaad8f0fa8da1801aa31465c1f37d Signed-off-by: Florin Coras <fcoras@cisco.com>
-rw-r--r--src/vnet/lisp-gpe/lisp_gpe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/lisp-gpe/lisp_gpe.c b/src/vnet/lisp-gpe/lisp_gpe.c
index 3fd78c6a1cd..e78d45c9020 100644
--- a/src/vnet/lisp-gpe/lisp_gpe.c
+++ b/src/vnet/lisp-gpe/lisp_gpe.c
@@ -91,6 +91,7 @@ lisp_gpe_add_del_fwd_entry_command_fn (vlib_main_t * vm,
pair.lcl_loc = lloc;
pair.rmt_loc = rloc;
pair.weight = w;
+ pair.priority = 0;
vec_add1 (pairs, pair);
}
else