aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--[-rwxr-xr-x]src/vnet/session/session_api.c2
-rw-r--r--[-rwxr-xr-x]src/vnet/session/session_cli.c0
2 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c
index add9370e3c8..6cff9ec6b05 100755..100644
--- a/src/vnet/session/session_api.c
+++ b/src/vnet/session/session_api.c
@@ -665,7 +665,7 @@ done:
REPLY_MACRO2 (VL_API_APP_ATTACH_REPLY, ({
if (!rv)
{
- ctrl_thread = vlib_num_workers ()? 1 : 0;
+ ctrl_thread = vlib_num_workers () ? 1 : 0;
ctrl_mq = session_main_get_vpp_event_queue (ctrl_thread);
segp = a->segment;
rmp->app_index = clib_host_to_net_u32 (a->app_index);
diff --git a/src/vnet/session/session_cli.c b/src/vnet/session/session_cli.c
index b03353e564a..b03353e564a 100755..100644
--- a/src/vnet/session/session_cli.c
+++ b/src/vnet/session/session_cli.c