comparison src/twjit_vty.c @ 40:d73b6ec27ae6

twjit: allow starting fill level to be 1 In most use cases, the smallest useful setting for starting fill level is 2. However, our job is to provide mechanism rather than policy, and the theoretical minimum is 1 - so let's support the latter configuration.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Dec 2024 20:07:01 +0000
parents 073b8c7b361f
children
comparison
equal deleted inserted replaced
39:1485211d4492 40:d73b6ec27ae6
36 36
37 return CMD_SUCCESS; 37 return CMD_SUCCESS;
38 } 38 }
39 39
40 DEFUN(cfg_buffer_depth, cfg_buffer_depth_cmd, 40 DEFUN(cfg_buffer_depth, cfg_buffer_depth_cmd,
41 "buffer-depth <2-65535> <2-65535>", 41 "buffer-depth <1-65535> <2-65535>",
42 "Buffer depth configuration\n" 42 "Buffer depth configuration\n"
43 "Minimum fill required to start flow\n" 43 "Minimum fill required to start flow\n"
44 "High water mark fill level\n") 44 "High water mark fill level\n")
45 { 45 {
46 struct twrtp_jibuf_config *conf = vty->index; 46 struct twrtp_jibuf_config *conf = vty->index;