aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2021-05-20 16:03:59 +0000
committerDamjan Marion <dmarion@me.com>2021-05-21 06:24:50 +0000
commit5606c82c7221feba47932bd958ce1d8d9a92ace9 (patch)
tree5dd148bf89eec1a0225a8fa03d03bdc862e355ad /src/vnet/ipsec
parent40c11e604ca48904d76f311ec761b5e71ff99797 (diff)
ipsec: Default the IPSec interface MTU to 9000
Type: fix The same value is used for other tunnel types. Signed-off-by: Neale Ranns <neale@graphiant.com> Change-Id: I6593001918993d65f127cc9f716c95e932239842
Diffstat (limited to 'src/vnet/ipsec')
-rw-r--r--src/vnet/ipsec/ipsec_itf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/ipsec/ipsec_itf.c b/src/vnet/ipsec/ipsec_itf.c
index 5f04fcf0a04..ae8e3427b12 100644
--- a/src/vnet/ipsec/ipsec_itf.c
+++ b/src/vnet/ipsec/ipsec_itf.c
@@ -305,6 +305,7 @@ ipsec_itf_create (u32 user_instance, tunnel_mode_t mode, u32 * sw_if_indexp)
t_idx);
hi = vnet_get_hw_interface (vnm, hw_if_index);
+ vnet_sw_interface_set_mtu (vnm, hi->sw_if_index, 9000);
vec_validate_init_empty (ipsec_itf_index_by_sw_if_index, hi->sw_if_index,
INDEX_INVALID);