aboutsummaryrefslogtreecommitdiffstats
path: root/capture.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-03-04 21:27:55 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-03-04 21:27:55 +0000
commit672ec45f9e5800d488dbc73dc5ae6a47a66c294c (patch)
treecd3a27cd60b078c8f1bafbd0ed61e2d7332f5d25 /capture.c
parentcb5a3869012ef0731e26a4a2eb9de63b5335403f (diff)
capture dialog limits now with units.
no gint "wrap around" tests implemented yet svn path=/trunk/; revision=10304
Diffstat (limited to 'capture.c')
-rw-r--r--capture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/capture.c b/capture.c
index 75edbc4077..7644af8eed 100644
--- a/capture.c
+++ b/capture.c
@@ -1,7 +1,7 @@
/* capture.c
* Routines for packet capture windows
*
- * $Id: capture.c,v 1.244 2004/03/04 19:31:20 ulfl Exp $
+ * $Id: capture.c,v 1.245 2004/03/04 21:27:55 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1763,7 +1763,7 @@ capture(gboolean *stats_known, struct pcap_stat *stats)
/* create stop conditions */
if (capture_opts.has_autostop_filesize)
cnd_autostop_size =
- cnd_new(CND_CLASS_CAPTURESIZE,(long)capture_opts.autostop_filesize * 1024);
+ cnd_new(CND_CLASS_CAPTURESIZE,(long)capture_opts.autostop_filesize);
if (capture_opts.has_autostop_duration)
cnd_autostop_duration =
cnd_new(CND_CLASS_TIMEOUT,(gint32)capture_opts.autostop_duration);