summaryrefslogtreecommitdiffstats
path: root/src/uri
diff options
context:
space:
mode:
Diffstat (limited to 'src/uri')
-rw-r--r--src/uri/uri_udp_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uri/uri_udp_test.c b/src/uri/uri_udp_test.c
index 45ad35a4a53..a8e39eaaebb 100644
--- a/src/uri/uri_udp_test.c
+++ b/src/uri/uri_udp_test.c
@@ -707,7 +707,7 @@ vl_api_connect_uri_reply_t_handler (vl_api_connect_uri_reply_t * mp)
return;
}
- segment_index = a->new_segment_index;
+ segment_index = a->new_segment_indices[0];
vec_add2 (utm->seg, seg, 1);
memcpy (seg, sm->segments + segment_index, sizeof (*seg));
sleep (1);