aboutsummaryrefslogtreecommitdiffstats
path: root/tethereal.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-10-07 03:34:27 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-10-07 03:34:27 +0000
commit973dc5c181aa49779adcd487e28263382cf763e1 (patch)
treec814074c0113c005e736318466407d75c35e4760 /tethereal.c
parent00161c47c72c79166c8350c8a9e0660e14619fa5 (diff)
fix Ethereal so command line capture parameter will work with kilobytes (again)
remove Byte(s) from the dropdown list of filesizes, this doesn't make sense replace 1000 with 1024, as all (modern?) file managers are based on 1024 bytes for a kilobyte (the old KB vs. KiB controversy) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16149 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tethereal.c')
-rw-r--r--tethereal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tethereal.c b/tethereal.c
index e2d7592e72..b78250a88a 100644
--- a/tethereal.c
+++ b/tethereal.c
@@ -1745,7 +1745,7 @@ capture(char *save_file, int out_file_type)
/* create stop conditions */
if (capture_opts.has_autostop_filesize)
cnd_stop_capturesize = cnd_new((const char*)CND_CLASS_CAPTURESIZE,
- (long)capture_opts.autostop_filesize * 1000);
+ (long)capture_opts.autostop_filesize * 1024);
if (capture_opts.has_autostop_duration)
cnd_stop_timeout = cnd_new((const char*)CND_CLASS_TIMEOUT,
(gint32)capture_opts.autostop_duration);