adj = adj_get (ai);
sw_if_index = adj->rewrite_header.sw_if_index;
- if ((vec_len (gm->tunnel_index_by_sw_if_index) < sw_if_index) ||
+ if ((vec_len (gm->tunnel_index_by_sw_if_index) <= sw_if_index) ||
(~0 == gm->tunnel_index_by_sw_if_index[sw_if_index]))
return;
/* Standard default gre MTU. */
vnet_sw_interface_set_mtu (vnm, sw_if_index, 9000);
+
/*
* source the FIB entry for the tunnel's destination
* and become a child thereof. The tunnel will then get poked