summaryrefslogtreecommitdiffstats
path: root/hicn-plugin
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2020-09-22 14:37:34 +0000
committerMauro Sardara <msardara@cisco.com>2020-09-22 14:37:34 +0000
commit964ffb40b4a1d93d88cfadaa53fc050ac67e443e (patch)
tree0e55fb834ae691d38726545287bc4f7a9aaff5ac /hicn-plugin
parent20a773677230374ffa2d5d140f7d46032fb7bc9d (diff)
[HICN-640] Put all interfaces in VRF 10, not only MPLS interfaces.
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I2c7ff24ee4d31e4f5659ef88f8a6c4a9d9c630b1
Diffstat (limited to 'hicn-plugin')
-rw-r--r--hicn-plugin/src/route.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/hicn-plugin/src/route.c b/hicn-plugin/src/route.c
index 3b774cd82..b569d431e 100644
--- a/hicn-plugin/src/route.c
+++ b/hicn-plugin/src/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)