diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-05-01 00:18:48 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-05-01 00:18:48 +0000 |
commit | bdb69627b2330e225c4676c261f3719a2ecdf5b8 (patch) | |
tree | 087ec2c4043916dd8799ae91b499d71aa82f702b /capture.c | |
parent | 112bd7c6a7974607227449206f6f88d399076427 (diff) | |
download | wireshark-bdb69627b2330e225c4676c261f3719a2ecdf5b8.tar.gz wireshark-bdb69627b2330e225c4676c261f3719a2ecdf5b8.tar.bz2 wireshark-bdb69627b2330e225c4676c261f3719a2ecdf5b8.zip |
"prefs.capture_real_time", not "prefs.capture_auto_scroll", should
control whether we have a child process do the capturing; a user might
want the packet list to be updated as packets arrive but *not* want it
to scroll so that the most recently arrived packets are shown.
"prefs.capture_auto_scroll", not "auto_scroll_live", should control
whether we scroll a real-time-update capture's packet list;
"auto_scroll_live" isn't set by the capture dialog box,
"prefs_capture_auto_scroll" is.
svn path=/trunk/; revision=3388
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.148 2001/04/13 14:59:28 jfoster Exp $ + * $Id: capture.c,v 1.149 2001/05/01 00:18:46 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -303,7 +303,7 @@ do_capture(char *capfile_name) g_assert(cfile.save_file == NULL); cfile.save_file = capfile_name; - if (prefs.capture_auto_scroll) { /* do the capture in a child process */ + if (prefs.capture_real_time) { /* do the capture in a child process */ char ssnap[24]; char scount[24]; /* need a constant for len of numbers */ char save_file_fd[24]; |