diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2012-12-12 03:25:35 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2012-12-12 03:25:35 +0000 |
commit | 20211340e51fd11809cf08317c23d1bcc54f663d (patch) | |
tree | 49b6290e25e3d52f1d7a80809db3c00c0d758b89 /tshark.c | |
parent | 47efce288963ffca0d527750ed05bd12b66f7d82 (diff) |
Make the "-g" argument to tshark actually work (by passing it to dumpcap).
svn path=/trunk/; revision=46515
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -923,7 +923,7 @@ main(int argc, char *argv[]) #define OPTSTRING_I "" #endif -#define OPTSTRING "2a:" OPTSTRING_A "b:" OPTSTRING_B "c:C:d:De:E:f:F:G:hH:i:" OPTSTRING_I "K:lLnN:o:O:pPqr:R:s:S:t:T:u:vVw:W:xX:y:z:" +#define OPTSTRING "2a:" OPTSTRING_A "b:" OPTSTRING_B "c:C:d:De:E:f:F:gG:hH:i:" OPTSTRING_I "K:lLnN:o:O:pPqr:R:s:S:t:T:u:vVw:W:xX:y:z:" static const char optstring[] = OPTSTRING; @@ -1186,7 +1186,7 @@ main(int argc, char *argv[]) case 'b': /* Ringbuffer option */ case 'c': /* Capture x packets */ case 'f': /* capture filter */ - case 'g': /* enable group read accesson file(s) */ + case 'g': /* enable group read access on file(s) */ case 'i': /* Use interface x */ case 'p': /* Don't capture in promiscuous mode */ #ifdef HAVE_PCAP_REMOTE |