Type: fix
If an attempt is made to delete a teib entry and the entry does not
exist, a message is logged. The format string contained an extra "%U",
which results in a segv.
Change-Id: I9b1d6ba63601982ba6ac8607cf710e34c311702a
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
}
else
{
- TEIB_INFO ("no such entry: %U, %U, %U",
- format_vnet_sw_if_index_name,
+ TEIB_INFO ("no such entry: %U, %U", format_vnet_sw_if_index_name,
vnet_get_main (), sw_if_index, format_ip_address, peer);
return (VNET_API_ERROR_NO_SUCH_ENTRY);
}