vlib_cli_command_t * cmd)
{
dns_main_t *dm = &dns_main;
- u8 *name;
+ u8 *name = 0;
uword *p;
clib_error_t *e;
dns_cache_entry_t *ep;
vec_add1 (name, 0);
_vec_len (name) -= 1;
}
+ else
+ return clib_error_return (0, "no name provided");
dns_cache_lock (dm);