aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-09-25 00:30:23 -0700
committerNeale Ranns <nranns@cisco.com>2018-09-25 09:35:48 +0000
commit4cabcff2a447b92fc5b8db8effbb364ff544a637 (patch)
tree27182c00db6f570df95f503e51758305056bcf14 /src
parente8460c742b0e8ca9587dff2e1c1970bf891df583 (diff)
UDP-Encap: fix coverity found error
Change-Id: Idbe5f4d7f37dbe4dbf8d2679c3d816aeaed148d8 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/udp/udp_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/udp/udp_api.c b/src/vnet/udp/udp_api.c
index d00d74e27d5..05840ec4bc9 100644
--- a/src/vnet/udp/udp_api.c
+++ b/src/vnet/udp/udp_api.c
@@ -121,6 +121,7 @@ vl_api_udp_encap_add_t_handler (vl_api_udp_encap_add_t * mp, vlib_main_t * vm)
index_t uei;
int rv = 0;
+ uei = INDEX_INVALID;
table_id = ntohl (mp->udp_encap.table_id);
itype = ip_address_decode (&mp->udp_encap.src_ip, &src_ip);