diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-06-20 14:14:02 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-06-20 21:14:27 +0000 |
commit | 9a50b0f20b496e448d3e6e924ea964b6dd2c7fca (patch) | |
tree | 04ea0bccfe2801d127232b35aa139b1b59cced52 /tshark.c | |
parent | 26bbee3fadc68237801e4ed65b87c97b3cdf3156 (diff) | |
download | wireshark-9a50b0f20b496e448d3e6e924ea964b6dd2c7fca.tar.gz |
Define OPTSTRING_CAPTURE_COMMON as nothing if we don't have pcap.
No capturing, no capture options.
Change-Id: I0023184b9c358d5876f19a098590f34d641c8649
Reviewed-on: https://code.wireshark.org/review/2493
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -975,7 +975,7 @@ main(int argc, char *argv[]) gchar *output_only = NULL; #ifndef HAVE_LIBPCAP -#define OPTSTRING_B "" +#define OPTSTRING_CAPTURE_COMMON "" #endif /* HAVE_LIBPCAP */ /* the leading - ensures that getopt() does not permute the argv[] entries |