aboutsummaryrefslogtreecommitdiffstats
path: root/tethereal.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-10-07 03:34:27 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-10-07 03:34:27 +0000
commit4443681a9e13b926e6c34da6c44cf93103d21944 (patch)
treec814074c0113c005e736318466407d75c35e4760 /tethereal.c
parent8fc87ba3ba8089e586b396d921f95351bc885ca0 (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) svn path=/trunk/; revision=16149
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);