udp: fix coverity warning

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I8efde7a4be9b04eae7e30b153de5edab7854496b
This commit is contained in:
Florin Coras
2020-04-09 14:20:52 +00:00
committed by Dave Barach
parent ca57852168
commit 92bbfc297c

View File

@ -98,7 +98,7 @@ udp_trace_buffer (vlib_main_t * vm, vlib_node_runtime_t * node,
t = vlib_add_trace (vm, node, b, sizeof (*t));
t->connection = s ? s->connection_index : ~0;
t->disposition = error0;
t->thread_index = s->thread_index;
t->thread_index = s ? s->thread_index : vm->thread_index;
}
static udp_connection_t *