From 9a50b0f20b496e448d3e6e924ea964b6dd2c7fca Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 20 Jun 2014 14:14:02 -0700 Subject: 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 --- tshark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tshark.c') diff --git a/tshark.c b/tshark.c index 78104cada9..79bd386f17 100644 --- a/tshark.c +++ b/tshark.c @@ -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 -- cgit v1.2.1