Typos. A bunch of typos I've been collecting.
[vpp.git] / src / vnet / session-apps / echo_server.c
index 2762347..ab90004 100644 (file)
@@ -29,7 +29,7 @@ typedef struct
 
   u32 app_index;               /**< Server app index */
   u32 my_client_index;         /**< API client handle */
-  u32 node_index;              /**< process node index for evnt scheduling */
+  u32 node_index;              /**< process node index for event scheduling */
 
   /*
    * Config params
@@ -240,14 +240,16 @@ echo_server_rx_callback (session_t * s)
       n_written = app_send_stream_raw (tx_fifo,
                                       esm->vpp_queue[thread_index],
                                       esm->rx_buf[thread_index],
-                                      actual_transfer, SESSION_IO_EVT_TX, 0);
+                                      actual_transfer, SESSION_IO_EVT_TX,
+                                      1 /* do_evt */ , 0);
     }
   else
     {
       n_written = app_send_dgram_raw (tx_fifo, &at,
                                      esm->vpp_queue[s->thread_index],
                                      esm->rx_buf[thread_index],
-                                     actual_transfer, SESSION_IO_EVT_TX, 0);
+                                     actual_transfer, SESSION_IO_EVT_TX,
+                                     1 /* do_evt */ , 0);
     }
 
   if (n_written != max_transfer)