diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2017-10-16 05:48:23 -0700 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-10-31 15:48:45 +0000 |
commit | 0a8840df8ea6d4936d080c111f2b361f575a773d (patch) | |
tree | 64b8acb835a3968a910f315bcfe58c656fb39c82 /src/vnet/lisp-gpe/lisp_gpe_sub_interface.c | |
parent | 57938f63cc6743193c76d4fa89ad3250a5f76b56 (diff) |
LISP: add P-ITR/P-ETR/xTR API handlers, ONE-24
Change-Id: I25937cd7470c826d1e833e65530ae959c39139d8
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/lisp-gpe/lisp_gpe_sub_interface.c')
-rw-r--r-- | src/vnet/lisp-gpe/lisp_gpe_sub_interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/lisp-gpe/lisp_gpe_sub_interface.c b/src/vnet/lisp-gpe/lisp_gpe_sub_interface.c index 6e145f527fb..3f56dbea08d 100644 --- a/src/vnet/lisp-gpe/lisp_gpe_sub_interface.c +++ b/src/vnet/lisp-gpe/lisp_gpe_sub_interface.c @@ -135,7 +135,8 @@ lisp_gpe_sub_interface_find_or_create_and_lock (const ip_address_t * lrloc, * find the main interface from the VNI */ main_sw_if_index = - lisp_gpe_tenant_l3_iface_add_or_lock (vni, overlay_table_id); + lisp_gpe_tenant_l3_iface_add_or_lock (vni, overlay_table_id, + 1 /* with_default_route */ ); vnet_sw_interface_t sub_itf_template = { .type = VNET_SW_INTERFACE_TYPE_SUB, |