aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet')
-rwxr-xr-x[-rw-r--r--]src/vnet/session/session_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c
index a82dfe0b..8116b673 100644..100755
--- a/src/vnet/session/session_api.c
+++ b/src/vnet/session/session_api.c
@@ -180,7 +180,7 @@ send_session_connected_callback (u32 app_index, u32 api_context,
}
else
{
- mp->retval = VNET_API_ERROR_SESSION_CONNECT_FAIL;
+ mp->retval = clib_host_to_net_u32 (VNET_API_ERROR_SESSION_CONNECT_FAIL);
}
vl_msg_api_send_shmem (q, (u8 *) & mp);