Fix logging for https://gerrit.fd.io/r/c/vpp/+/38602
This commit is contained in:
@ -789,7 +789,7 @@ lcp_itf_pair_create (u32 phy_sw_if_index, u8 *host_if_name,
|
|||||||
|
|
||||||
if (hw->hw_class_index != ethernet_hw_interface_class.index &&
|
if (hw->hw_class_index != ethernet_hw_interface_class.index &&
|
||||||
host_if_type == LCP_ITF_HOST_TAP) {
|
host_if_type == LCP_ITF_HOST_TAP) {
|
||||||
LCP_ITF_PAIR_ERR (
|
LCP_IF_ERROR (
|
||||||
"pair_create: don't create TAP for non-eth interface; use tun");
|
"pair_create: don't create TAP for non-eth interface; use tun");
|
||||||
return VNET_API_ERROR_INVALID_ARGUMENT;
|
return VNET_API_ERROR_INVALID_ARGUMENT;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user