vcl: improve shutdown()
[vpp.git] / src / vcl / vcl_locked.c
index 69f492b..ea22bcd 100644 (file)
@@ -1314,7 +1314,7 @@ vls_close (vls_handle_t vlsh)
 }
 
 int
-vls_shutdown (vls_handle_t vlsh)
+vls_shutdown (vls_handle_t vlsh, int how)
 {
   vcl_locked_session_t *vls;
   int rv;
@@ -1324,7 +1324,7 @@ vls_shutdown (vls_handle_t vlsh)
     return VPPCOM_EBADFD;
 
   vls_mt_guard (vls, VLS_MT_OP_SPOOL);
-  rv = vppcom_session_shutdown (vls_to_sh (vls));
+  rv = vppcom_session_shutdown (vls_to_sh (vls), how);
   vls_mt_unguard ();
   vls_get_and_unlock (vlsh);