aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/hs_apps/echo_client.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-04-10 19:52:04 +0000
committerFlorin Coras <fcoras@cisco.com>2020-04-10 19:52:04 +0000
commit256779c85725c75de185f5cba9a4ec0c59b3151c (patch)
tree2efd3c2efde2b83272b81ec97c39fa5a8def28a4 /src/plugins/hs_apps/echo_client.c
parent92e131468bd9acd5d0fc6504723b8e7f81a3213e (diff)
udp: remove connected udp transport proto
Type: refactor To reproduce functionality, use udp in combination with TRANSPORT_CFG_F_CONNECTED transport flag set in connect and listen parameters. Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Id88470c38326f8168b9646b0de49a674e0f4266f
Diffstat (limited to 'src/plugins/hs_apps/echo_client.c')
-rw-r--r--src/plugins/hs_apps/echo_client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/hs_apps/echo_client.c b/src/plugins/hs_apps/echo_client.c
index e10ee59a2b7..881bbd41a0b 100644
--- a/src/plugins/hs_apps/echo_client.c
+++ b/src/plugins/hs_apps/echo_client.c
@@ -898,8 +898,7 @@ echo_clients_command_fn (vlib_main_t * vm,
if ((rv = parse_uri ((char *) ecm->connect_uri, &sep)))
return clib_error_return (0, "Uri parse error: %d", rv);
ecm->transport_proto = sep.transport_proto;
- ecm->is_dgram = (sep.transport_proto == TRANSPORT_PROTO_UDP
- || sep.transport_proto == TRANSPORT_PROTO_UDPC);
+ ecm->is_dgram = (sep.transport_proto == TRANSPORT_PROTO_UDP);
#if ECHO_CLIENT_PTHREAD
echo_clients_start_tx_pthread ();