summaryrefslogtreecommitdiff
path: root/capture_opts.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-10-23 15:31:48 +0000
committerMichael Mann <mmann78@netscape.net>2013-10-23 15:31:48 +0000
commit36e13a4c55a5080ae504691c8062f359c3c8668f (patch)
treefa4d5a37b86fca39ef830c568473791cb1fc93e3 /capture_opts.h
parentbe86384b34b8ea02963a335ea05ac186c3eb4b87 (diff)
downloadwireshark-36e13a4c55a5080ae504691c8062f359c3c8668f.tar.gz
Bugfix "Restart the running live capture" when using multiple files makes a long filename. Bug 2274 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2274)
Yes this solution leaks memory, but I think the handful of bytes leaked is worth fixing this nuisance. Won't backport until leak is fixed though. svn path=/trunk/; revision=52793
Diffstat (limited to 'capture_opts.h')
-rw-r--r--capture_opts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/capture_opts.h b/capture_opts.h
index 05db1dec1b..f99dac62c1 100644
--- a/capture_opts.h
+++ b/capture_opts.h
@@ -186,6 +186,7 @@ typedef struct capture_options_tag {
gboolean show_info; /**< show the info dialog */
gboolean quit_after_cap; /**< Makes a "capture only mode". Implies -k */
gboolean restart; /**< restart after closing is done */
+ gchar *orig_save_file; /**< the original capture file name (saved for a restart) */
/* multiple files (and ringbuffer) */
gboolean multi_files_on; /**< TRUE if ring buffer in use */