session: Refactor invalid session idx/handle
[vpp.git] / src / vcl / vcl_cfg.c
index 12a4fd8..5d64515 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018 Cisco and/or its affiliates.
+ * Copyright (c) 2018-2019 Cisco and/or its affiliates.
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this
  * You may obtain a copy of the License at:
@@ -580,8 +580,7 @@ vppcom_cfg (vppcom_cfg_t * vcl_cfg)
       clib_memcpy (vcm->cfg.namespace_id, env_var_str, ns_id_vec_len);
 
       VCFG_DBG (0, "VCL<%d>: configured namespace_id (%s) from "
-               VPPCOM_ENV_APP_NAMESPACE_ID "!", getpid (),
-               (char *) vcm->cfg.namespace_id);
+               VPPCOM_ENV_APP_NAMESPACE_ID "!", getpid (), env_var_str);
     }
   env_var_str = getenv (VPPCOM_ENV_APP_NAMESPACE_SECRET);
   if (env_var_str)