;
else if (unformat (line_input, "peer %U", unformat_ip_address, &peer))
;
- else if (unformat (line_input, "nh %U", unformat_ip_address, &nh))
- ;
else if (unformat (line_input, "nh-table-id %d", &nh_table_id))
;
+ else if (unformat (line_input, "nh %U", unformat_ip_address, &nh))
+ ;
else
{
error = clib_error_return (0, "unknown input `%U'",
if (rv)
{
- error = clib_error_return_code (NULL, rv, 0,
- "NRHP error",
+ error = clib_error_return_code (NULL, rv, 0, "TEIB error",
format_unformat_error, line_input);
}
if (rv)
{
- error = clib_error_return_code (NULL, rv, 0,
- "NRHP error",
+ error = clib_error_return_code (NULL, rv, 0, "TEIB error",
format_unformat_error, line_input);
}