summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/interface.c')
-rw-r--r--src/vnet/interface.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/vnet/interface.c b/src/vnet/interface.c
index 20afce1fb6e..d0f94b101ad 100644
--- a/src/vnet/interface.c
+++ b/src/vnet/interface.c
@@ -1637,16 +1637,6 @@ static int
vnet_sw_interface_check_table_same (u32 unnumbered_sw_if_index,
u32 ip_sw_if_index)
{
- vec_validate (ip4_main.fib_index_by_sw_if_index, unnumbered_sw_if_index);
- vec_validate (ip4_main.mfib_index_by_sw_if_index, unnumbered_sw_if_index);
- vec_validate (ip6_main.fib_index_by_sw_if_index, unnumbered_sw_if_index);
- vec_validate (ip6_main.mfib_index_by_sw_if_index, unnumbered_sw_if_index);
-
- vec_validate (ip4_main.fib_index_by_sw_if_index, ip_sw_if_index);
- vec_validate (ip4_main.mfib_index_by_sw_if_index, ip_sw_if_index);
- vec_validate (ip6_main.fib_index_by_sw_if_index, ip_sw_if_index);
- vec_validate (ip6_main.mfib_index_by_sw_if_index, ip_sw_if_index);
-
if (ip4_main.fib_index_by_sw_if_index[unnumbered_sw_if_index] !=
ip4_main.fib_index_by_sw_if_index[ip_sw_if_index])
return VNET_API_ERROR_UNEXPECTED_INTF_STATE;