diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-03-04 21:27:55 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-03-04 21:27:55 +0000 |
commit | 672ec45f9e5800d488dbc73dc5ae6a47a66c294c (patch) | |
tree | cd3a27cd60b078c8f1bafbd0ed61e2d7332f5d25 /capture.c | |
parent | cb5a3869012ef0731e26a4a2eb9de63b5335403f (diff) | |
download | wireshark-672ec45f9e5800d488dbc73dc5ae6a47a66c294c.tar.gz wireshark-672ec45f9e5800d488dbc73dc5ae6a47a66c294c.tar.bz2 wireshark-672ec45f9e5800d488dbc73dc5ae6a47a66c294c.zip |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |