From be464ae928413ce7f16fec5742fd6fe461906500 Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Wed, 23 Sep 2020 18:14:14 +0000 Subject: [HICN-642] Porting of fixes for hicn_plugin punting api. Signed-off-by: Mauro Sardara Change-Id: Iaf626f3c94d7a37a0472fe781b09373f5e9370d9 --- hicn-plugin/src/network/route.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'hicn-plugin/src/network/route.c') diff --git a/hicn-plugin/src/network/route.c b/hicn-plugin/src/network/route.c index 3b774cd82..b569d431e 100644 --- a/hicn-plugin/src/network/route.c +++ b/hicn-plugin/src/network/route.c @@ -676,13 +676,6 @@ set_table_interface_add_del (vnet_main_t * vnm, u32 sw_if_index, u32 is_add) if (!is_add) return HICN_ERROR_NONE; - vnet_sw_interface_t * sw_int = vnet_get_sw_interface(vnm, sw_if_index); - vnet_hw_interface_t * hw_int = vnet_get_hw_interface(vnm, sw_int->hw_if_index); - - char * mpls = "mpls"; - if (strstr((char *)hw_int->name, mpls) == NULL) - return 0; - int rv = ip_table_bind (FIB_PROTOCOL_IP4, sw_if_index, HICN_FIB_TABLE, 1); if (!rv) -- cgit 1.2.3-korg