X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp-api%2Fclient%2Fclient.c;h=68269bb9b5504e98fa3703cc6a8b67ae08f39584;hb=94495f2a6a68ac2202b7715ce09620f1ba6fe673;hp=b27e5b7479832cc5dcbe2ca16ad2d2a37b4fd5d9;hpb=4e588aa7ca89b966fd9ec2fc6b02d75df23ae648;p=vpp.git diff --git a/src/vpp-api/client/client.c b/src/vpp-api/client/client.c index b27e5b74798..68269bb9b55 100644 --- a/src/vpp-api/client/client.c +++ b/src/vpp-api/client/client.c @@ -273,7 +273,7 @@ vac_rx_suspend (void) ep = vl_msg_api_alloc (sizeof (*ep)); ep->_vl_msg_id = ntohs(VL_API_MEMCLNT_RX_THREAD_SUSPEND); vl_msg_api_send_shmem(am->vl_input_queue, (u8 *)&ep); - /* Wait for RX thread to tell us it has suspendend */ + /* Wait for RX thread to tell us it has suspended */ pthread_cond_wait(&pm->suspend_cv, &pm->queue_lock); rx_is_running = false; } @@ -507,7 +507,7 @@ typedef VL_API_PACKED(struct _vl_api_header { u32 client_index; }) vl_api_header_t; -static unsigned int +static u32 vac_client_index (void) { return (api_main.my_client_index);