aboutsummaryrefslogtreecommitdiffstats
path: root/capture_sync.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2012-12-12 03:25:35 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2012-12-12 03:25:35 +0000
commit20211340e51fd11809cf08317c23d1bcc54f663d (patch)
tree49b6290e25e3d52f1d7a80809db3c00c0d758b89 /capture_sync.c
parent47efce288963ffca0d527750ed05bd12b66f7d82 (diff)
Make the "-g" argument to tshark actually work (by passing it to dumpcap).
svn path=/trunk/; revision=46515
Diffstat (limited to 'capture_sync.c')
-rw-r--r--capture_sync.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/capture_sync.c b/capture_sync.c
index eed62c4764..1020f18fdb 100644
--- a/capture_sync.c
+++ b/capture_sync.c
@@ -430,6 +430,10 @@ sync_pipe_start(capture_options *capture_opts) {
argv = sync_pipe_add_arg(argv, &argc, sautostop_duration);
}
+ if (capture_opts->group_read_access) {
+ argv = sync_pipe_add_arg(argv, &argc, "-g");
+ }
+
for (j = 0; j < capture_opts->ifaces->len; j++) {
interface_opts = g_array_index(capture_opts->ifaces, interface_options, j);