From 36e13a4c55a5080ae504691c8062f359c3c8668f Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Wed, 23 Oct 2013 15:31:48 +0000 Subject: 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 --- capture_opts.h | 1 + 1 file changed, 1 insertion(+) (limited to 'capture_opts.h') 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 */ -- cgit v1.2.1