case GBP_VXLAN_TEMPLATE_TUNNEL:
ge->tun.ge_parent_sw_if_index = sw_if_index;
ge->ge_sw_if_index =
- gbp_vxlan_tunnel_clone_and_lock (sw_if_index, tun_src, tun_dst);
+ gbp_vxlan_tunnel_clone_and_lock (sw_if_index,
+ &ge->tun.ge_src,
+ &ge->tun.ge_dst);
break;
case VXLAN_GBP_TUNNEL:
ge->tun.ge_parent_sw_if_index =
tun_src, tun_dst);
ge->ge_itf = gbp_itf_add_and_lock (sw_if_index, ~0);
}
- else
- /* L2 EP with IPs */
- gei = gbp_endpoint_index (ge);
+ /* else
+ * L2 EP with IPs
+ */
}
else
{
else if (unformat (input, "ip6-uu %U", unformat_vnet_sw_interface,
vnm, &ip6_uu_sw_if_index))
;
- else if (unformat (input, "ip4-table-id %d", ip4_table_id))
+ else if (unformat (input, "ip4-table-id %d", &ip4_table_id))
;
- else if (unformat (input, "ip6-table-id %d", ip6_table_id))
+ else if (unformat (input, "ip6-table-id %d", &ip6_table_id))
;
else if (unformat (input, "add"))
add = 1;