aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session_api.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-09-24 11:58:28 -0700
committerDave Barach <openvpp@barachs.net>2020-09-25 14:46:38 +0000
commit6b6c10be0512a459146de82ba5fa2acc86f3f8d4 (patch)
treefaf7b53e18af589741e52f0593c500b86d3fad49 /src/vnet/session/session_api.c
parent9d211500a4c71dfad074073c51f09e175ce49059 (diff)
vppinfra session: file platform independent private data
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Id43b0b6db2b42ee5801236df0bd7f7225e1e081c
Diffstat (limited to 'src/vnet/session/session_api.c')
-rw-r--r--src/vnet/session/session_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c
index e7f95d2dca4..12aea496b88 100644
--- a/src/vnet/session/session_api.c
+++ b/src/vnet/session/session_api.c
@@ -1638,14 +1638,14 @@ sapi_sock_accept_ready (clib_file_t * scf)
cf.file_descriptor = ccs->fd;
/* File points to app namespace and socket */
handle.aah_sock_index = appns_sapi_socket_index (app_ns, ccs);
- cf.private_data = handle.as_uword;
+ cf.private_data = handle.as_u64;
cf.description = format (0, "app sock conn fd: %d", ccs->fd);
/* Poll until we get an attach message. Socket points to file and
* application that owns the socket */
handle.aah_app_wrk_index = APP_INVALID_INDEX;
handle.aah_file_index = clib_file_add (&file_main, &cf);
- ccs->private_data = handle.as_uword;
+ ccs->private_data = handle.as_u64;
return err;