aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2017-06-09 15:25:57 +0200
committerFilip Tehlar <ftehlar@cisco.com>2017-06-12 09:00:48 +0200
commitb8633d2570c95e27e4d7fcb95b69a23fc1671792 (patch)
tree772f19c943a1fab8f1d7008c0733debd851c5216 /src/vnet/lisp-cp
parent76481d0994b84d62eca35173140ae306b1ce5e34 (diff)
Fix coverity issue
Change-Id: Ib62ee0eacd6c91dc4cd95835efe901079754ef42 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp')
-rw-r--r--src/vnet/lisp-cp/one_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/lisp-cp/one_api.c b/src/vnet/lisp-cp/one_api.c
index 18235fa4514..f1cf690f47d 100644
--- a/src/vnet/lisp-cp/one_api.c
+++ b/src/vnet/lisp-cp/one_api.c
@@ -1154,6 +1154,7 @@ one_adjacency_copy (vl_api_one_adjacency_t * dst, lisp_adjacency_t * adjs)
nsh.spi = clib_host_to_net_u32 (gid_address_nsh_spi (&adj->leid));
nsh.si = gid_address_nsh_si (&adj->leid);
clib_memcpy (a.leid, &nsh, sizeof (nsh));
+ break;
default:
ASSERT (0);
}