diff options
Diffstat (limited to 'src/plugins/linux-cp/lcp_interface.c')
-rw-r--r-- | src/plugins/linux-cp/lcp_interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/linux-cp/lcp_interface.c b/src/plugins/linux-cp/lcp_interface.c index 5c4cd494232..3fc91179cd1 100644 --- a/src/plugins/linux-cp/lcp_interface.c +++ b/src/plugins/linux-cp/lcp_interface.c @@ -438,7 +438,8 @@ lcp_itf_pair_del (u32 phy_sw_if_index) } lip_db_by_phy[phy_sw_if_index] = INDEX_INVALID; - lip_db_by_phy[lip->lip_host_sw_if_index] = INDEX_INVALID; + lip_db_by_host[lip->lip_host_sw_if_index] = INDEX_INVALID; + hash_unset (lip_db_by_vif, lip->lip_vif_index); vec_free (lip->lip_host_name); vec_free (lip->lip_namespace); |