From 42e480d6e5ac5af0b5f7b9bc6b8d40766be5f873 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Mon, 16 Jan 2017 00:57:02 -0800 Subject: Fix LISP coverity warning - uninitialized field in locator pair Change-Id: I6832eaf5217eaad8f0fa8da1801aa31465c1f37d Signed-off-by: Florin Coras --- src/vnet/lisp-gpe/lisp_gpe.c | 1 + 1 file changed, 1 insertion(+) 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 -- cgit 1.2.3-korg