summaryrefslogtreecommitdiffstats
path: root/src/vnet/adj/rewrite.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-10-30 06:34:25 -0700
committerDave Barach <openvpp@barachs.net>2018-10-30 19:45:55 +0000
commit1bce5a92087fc0caffe7723d2f2de7f1bf296046 (patch)
treed8fdbb6462c70661efd40bede66d74e617a127a9 /src/vnet/adj/rewrite.c
parent5e36c3cd6b74d0b6adf483934eebbf50f5f570b2 (diff)
ADJ: init MTU to interface default
Change-Id: Iaecf8c060e1337d8c362ad9a9be2bb9701664397 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/adj/rewrite.c')
-rw-r--r--src/vnet/adj/rewrite.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/adj/rewrite.c b/src/vnet/adj/rewrite.c
index 1a87793eb1c..975dc4ab817 100644
--- a/src/vnet/adj/rewrite.c
+++ b/src/vnet/adj/rewrite.c
@@ -166,7 +166,8 @@ vnet_rewrite_for_tunnel (vnet_main_t * vnm,
rw->sw_if_index = tx_sw_if_index;
rw->next_index = vlib_node_add_next (vnm->vlib_main, rewrite_node_index,
post_rewrite_node_index);
- rw->max_l3_packet_bytes = (u16) ~ 0; /* we can't know at this point */
+ /* we can't know at this point */
+ rw->max_l3_packet_bytes = (u16) ~ 0;
ASSERT (rewrite_length < sizeof (adj->rewrite_data));
/* Leave room for ethernet + VLAN tag */