diff options
author | Florin Coras <fcoras@cisco.com> | 2017-01-16 00:57:02 -0800 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-01-16 21:30:54 +0000 |
commit | 42e480d6e5ac5af0b5f7b9bc6b8d40766be5f873 (patch) | |
tree | 83a85869957e06b1845d0d4e3d250a143dc0fec0 | |
parent | ca80025805230b34daa10fc1eb16600080c2a54f (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.c | 1 |
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 3fd78c6a..e78d45c9 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 |