Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
NAT44: add support for session timeout (VPP-1272)
[vpp.git]
/
src
/
vnet
/
lisp-gpe
/
lisp_gpe_sub_interface.c
diff --git
a/src/vnet/lisp-gpe/lisp_gpe_sub_interface.c
b/src/vnet/lisp-gpe/lisp_gpe_sub_interface.c
index
6e145f5
..
3f56dbe
100644
(file)
--- 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 =
* 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,
vnet_sw_interface_t sub_itf_template = {
.type = VNET_SW_INTERFACE_TYPE_SUB,