diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-05-22 07:44:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-05-22 07:44:28 +0000 |
commit | 8596d17d7f424f6a68154a537d67f1150758e5f7 (patch) | |
tree | c001df238a88757313991c76047808fe4c451727 /dumpcap.c | |
parent | 54ca6dae29aabe8ad5acb602f5727317dea50340 (diff) | |
download | wireshark-8596d17d7f424f6a68154a537d67f1150758e5f7.tar.gz |
Pull the capture-session state information out of capture_opts and put
it into a separate capture_session structure. capture_opts should
contain only user-specified option information (and stuff directly
derived from it, such as the "capturing from a pipe" flag).
svn path=/trunk/; revision=49493
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -110,6 +110,7 @@ #include "sync_pipe.h" #include "capture_opts.h" +#include "capture_session.h" #include "capture_ifinfo.h" #include "capture_sync.h" @@ -4451,7 +4452,7 @@ main(int argc, char *argv[]) /* Set the initial values in the capture options. This might be overwritten by the command line parameters. */ - capture_opts_init(&global_capture_opts, NULL); + capture_opts_init(&global_capture_opts); /* We always save to a file - if no file was specified, we save to a temporary file. */ |