From 8bd0af996226b720342f792129f21581aa08bb5d Mon Sep 17 00:00:00 2001 From: Magnus Damm Date: Sun, 8 Nov 2009 18:03:09 +0100 Subject: tftp: add optiona support for progress bar function old new delta tftp_protocol 1662 1834 +172 progress_meter 212 365 +153 tftp_progress_init - 14 +14 tftp_main 276 281 +5 tftpd_main 513 500 -13 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/1 up/down: 344/-13) Total: 331 bytes Signed-off-by: Magnus Damm Signed-off-by: Denys Vlasenko --- networking/Config.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'networking/Config.in') diff --git a/networking/Config.in b/networking/Config.in index 59e88e0..5f1b6f6 100644 --- a/networking/Config.in +++ b/networking/Config.in @@ -846,12 +846,19 @@ config FEATURE_TFTP_PUT Also enable download support in tftpd, if tftpd is selected. config FEATURE_TFTP_BLOCKSIZE - bool "Enable \"blksize\" protocol option" + bool "Enable 'blksize' and 'tsize' protocol options" default n depends on TFTP || TFTPD help Allow tftp to specify block size, and tftpd to understand - "blksize" option. + "blksize" and "tsize" options. + +config FEATURE_TFTP_PROGRESS_BAR + bool "Enable tftp progress meter" + default n + depends on TFTP && FEATURE_TFTP_BLOCKSIZE + help + Show progress bar. config TFTP_DEBUG bool "Enable debug" -- cgit v1.1