]> git.ipfire.org Git - thirdparty/mtr.git/commit
curses: validate packet size input 628/head
authoryvs <VSYakovetsky@gmail.com>
Fri, 8 May 2026 13:28:05 +0000 (17:28 +0400)
committerDarafei Praliaskouski <me@komzpa.net>
Fri, 8 May 2026 13:28:05 +0000 (17:28 +0400)
commitcf8c46cb509ca4704c0e714d28bbed7d0c214c2e
tree144b674083027ae1cce46f7d9384b25286b17df2
parent03d3a0c71315aefdac28331bf6b2fd86476c36d4
curses: validate packet size input

Port the interactive packet-size validation from yvs2014/mtr085. The curses s command now validates the newly entered value before assigning it, matching the command-line packet-size range.

Ported-from: yvs2014/mtr085@e100fd72be37f0a98d6893db7e0baa8a5b81b72a

Original-author: yvs <VSYakovetsky@gmail.com>
ui/curses.c