summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
ab57edb)
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I4f0628b0484e32facbeb163993cc25d637167936
static clib_error_t *
tcp_config_fn (vlib_main_t * vm, unformat_input_t * input)
{
static clib_error_t *
tcp_config_fn (vlib_main_t * vm, unformat_input_t * input)
{
- u32 cwnd_multiplier, tmp_time;
+ u32 cwnd_multiplier, tmp_time, mtu;
uword memory_size;
while (unformat_check_input (input) != UNFORMAT_END_OF_INPUT)
uword memory_size;
while (unformat_check_input (input) != UNFORMAT_END_OF_INPUT)
}
tcp_cfg.min_rx_fifo = memory_size;
}
}
tcp_cfg.min_rx_fifo = memory_size;
}
- else if (unformat (input, "mtu %u", &tcp_cfg.default_mtu))
- ;
+ else if (unformat (input, "mtu %u", &mtu))
+ tcp_cfg.default_mtu = mtu;
else if (unformat (input, "rwnd-min-update-ack %d",
&tcp_cfg.rwnd_min_update_ack))
;
else if (unformat (input, "rwnd-min-update-ack %d",
&tcp_cfg.rwnd_min_update_ack))
;