diff options
author | Neale Ranns <nranns@cisco.com> | 2018-10-30 06:34:25 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-10-30 19:45:55 +0000 |
commit | 1bce5a92087fc0caffe7723d2f2de7f1bf296046 (patch) | |
tree | d8fdbb6462c70661efd40bede66d74e617a127a9 /src/vnet/adj/adj_nbr.c | |
parent | 5e36c3cd6b74d0b6adf483934eebbf50f5f570b2 (diff) |
ADJ: init MTU to interface default
Change-Id: Iaecf8c060e1337d8c362ad9a9be2bb9701664397
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/adj/adj_nbr.c')
-rw-r--r-- | src/vnet/adj/adj_nbr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/adj/adj_nbr.c b/src/vnet/adj/adj_nbr.c index ff535295b4b..2fced18e9a2 100644 --- a/src/vnet/adj/adj_nbr.c +++ b/src/vnet/adj/adj_nbr.c @@ -195,6 +195,8 @@ adj_nbr_alloc (fib_protocol_t nh_proto, adj->ia_link = link_type; adj->ia_nh_proto = nh_proto; adj->rewrite_header.sw_if_index = sw_if_index; + vnet_rewrite_update_mtu(vnet_get_main(), adj->ia_link, + &adj->rewrite_header); adj_nbr_evaluate_feature (adj_get_index(adj)); return (adj); |