#include <vnet/ip/ip.h>
vnet_main_t vnet_main;
-vnet_main_t **vnet_mains;
vnet_main_t *
vnet_get_main (void)
vnm->local_interface_hw_if_index = hw_if_index;
vnm->local_interface_sw_if_index = hw->sw_if_index;
- /* the local interface is used as an input interface when decapping from
- * an IPSEC tunnel. so it needs to be IP enabled */
- ip4_sw_interface_enable_disable (hw->sw_if_index, 1);
- ip6_sw_interface_enable_disable (hw->sw_if_index, 1);
-
return 0;
}