diff options
author | Sake Blok <sake@euronet.nl> | 2010-08-28 11:05:51 +0000 |
---|---|---|
committer | Sake Blok <sake@euronet.nl> | 2010-08-28 11:05:51 +0000 |
commit | f17c5ac01f9198a033f6c1cb97ee54676121453e (patch) | |
tree | cec416f861481d0c1acfba756b4f816347c974a4 /ringbuffer.h | |
parent | 42a0f16cef0e3009168d8c2ffa6987ffcf8ecca4 (diff) |
As mentioned on the users-mailinglist[1], it could be useful to have groups read access to the ringbuffer that dumpcap creates. That way, a group of people can access the capture files without having to use root access.
[1] http://www.wireshark.org/lists/wireshark-users/201008/msg00235.html
svn path=/trunk/; revision=33978
Diffstat (limited to 'ringbuffer.h')
-rw-r--r-- | ringbuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ringbuffer.h b/ringbuffer.h index 497c9827d2..02e1ccb8c5 100644 --- a/ringbuffer.h +++ b/ringbuffer.h @@ -38,7 +38,7 @@ /* Maximum number for FAT filesystems */ #define RINGBUFFER_WARN_NUM_FILES 65535 -int ringbuf_init(const char *capture_name, guint num_files); +int ringbuf_init(const char *capture_name, guint num_files, gboolean group_read_access); const gchar *ringbuf_current_filename(void); FILE *ringbuf_init_libpcap_fdopen(int *err); gboolean ringbuf_switch_file(FILE **pdh, gchar **save_file, int *save_file_fd, |