fix bugs regarding the capture child
authorUlf Lamping <ulf.lamping@web.de>
Sun, 6 Feb 2005 12:21:27 +0000 (12:21 -0000)
committerUlf Lamping <ulf.lamping@web.de>
Sun, 6 Feb 2005 12:21:27 +0000 (12:21 -0000)
svn path=/trunk/; revision=13316

capture.c
gtk/main.c

index 229ddf84c0ef0e33bd0fb2ee4f4ee6e4706dd7a2..8a6036d922304b1dfd3e1a383ff1c040ae0b679c 100644 (file)
--- a/capture.c
+++ b/capture.c
@@ -90,7 +90,7 @@ capture_opts_init(capture_options *capture_opts, void *cfile)
   capture_opts->snaplen                 = MIN_PACKET_SIZE;
   capture_opts->promisc_mode            = TRUE;
   capture_opts->linktype                = -1;               /* the default linktype */
-  capture_opts->capture_child           = FALSE;
+/*  capture_opts->capture_child           = FALSE;*/
   capture_opts->save_file               = NULL;
   capture_opts->save_file_fd            = -1;
   capture_opts->sync_mode               = TRUE;
index 08173592d2c7c6a074981a17a3d61f6a364df93f..bb3c8ec5f60788be1c909cfd4b3a43d9cd795c4f 100644 (file)
@@ -1581,8 +1581,8 @@ main(int argc, char *argv[])
 
      Otherwise, set promiscuous mode from the preferences setting. */
   /* the same applies to other preferences settings as well. */
-  if (!capture_opts->capture_child) {
-    auto_scroll_live            = FALSE;
+  if (capture_opts->capture_child) {
+    auto_scroll_live             = FALSE;
   } else {
     capture_opts->promisc_mode   = prefs->capture_prom_mode;
     capture_opts->show_info      = prefs->capture_show_info;