summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/application_interface.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-08-24 13:58:49 -0700
committerFlorin Coras <fcoras@cisco.com>2018-08-24 13:58:49 -0700
commitc3638fece1a3b96349b7df11261e6661b101ccbe (patch)
tree2f97828a4d6b9c51fe4ad1d75c1a4fee4f8e52c9 /src/vnet/session/application_interface.c
parent1553197f9a1a3258b6954adeb9536bbe0191683d (diff)
session: fix coverity warnings
Change-Id: I2a25bba675fc9c84e5d391533e92b9a041637405 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/application_interface.c')
-rw-r--r--src/vnet/session/application_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/session/application_interface.c b/src/vnet/session/application_interface.c
index f8d43d40882..2e631363016 100644
--- a/src/vnet/session/application_interface.c
+++ b/src/vnet/session/application_interface.c
@@ -530,7 +530,7 @@ vnet_bind_uri (vnet_bind_args_t * a)
rv = parse_uri (a->uri, &sep);
if (rv)
return rv;
- clib_memcpy (&a->sep, &sep, sizeof (sep));
+ clib_memcpy (&a->sep_ext, &sep, sizeof (sep));
return vnet_bind_i (a);
}
@@ -568,7 +568,7 @@ vnet_connect_uri (vnet_connect_args_t * a)
if (rv)
return clib_error_return_code (0, rv, 0, "app init: %d", rv);
- clib_memcpy (&a->sep, &sep, sizeof (sep));
+ clib_memcpy (&a->sep_ext, &sep, sizeof (sep));
if ((rv = application_connect (a)))
return clib_error_return_code (0, rv, 0, "connect failed");
return 0;