ip: punt coverity fix of CLI input
Type: fix
@@ -551,6 +551,9 @@ punt_socket_register_cmd (vlib_main_t * vm,
}
}
+ if (!socket_name)
+ error = clib_error_return (0, "socket name not specified");
+ else
error = vnet_punt_socket_add (vm, 1, &pr, (char *) socket_name);
done:
