Initialize var in case of error return, per upstream a01be735f2

This commit is contained in:
Pim van Pelt
2023-01-11 13:08:54 +01:00
parent b7fd36bda4
commit 263ff9d02c

View File

@ -763,7 +763,7 @@ lcp_itf_pair_create (u32 phy_sw_if_index, u8 *host_if_name,
{
vlib_main_t *vm;
vnet_main_t *vnm;
u32 vif_index = 0, host_sw_if_index;
u32 vif_index = 0, host_sw_if_index = ~1;
const vnet_sw_interface_t *sw;
const vnet_hw_interface_t *hw;
lcp_itf_pair_t *lip;