diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-06-05 01:55:06 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-06-05 01:55:06 +0000 |
commit | 6c1f3c19eb1b2996bde19b42cdf69d0172f05dde (patch) | |
tree | 4eea65c7d0a5c988b673e2dceb62288ac9510a81 /tshark.c | |
parent | a3dc320faa8c3b133e2ed637c827a4778ef65582 (diff) |
Clarify an error message (and the corresponding comment).
Fix the no-libpcap build.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33103 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1457,9 +1457,10 @@ main(int argc, char *argv[]) return 1; } } - /* Currently, we don't support read filters when capturing. */ + /* Currently, we don't support read filters when capturing + and saving the packets. */ if (rfilter != NULL) { - cmdarg_err("Read filters aren't supported when capturing."); + cmdarg_err("Read filters aren't supported when capturing and saving the captured packets."); return 1; } } else { @@ -1496,6 +1497,7 @@ main(int argc, char *argv[]) of the filter. We can now process all the "-z" arguments. */ start_requested_stats(); +#ifdef HAVE_LIBPCAP /* We currently don't support taps, or printing dissected packets, if we're writing to a pipe. */ if (global_capture_opts.saving_to_file && @@ -1509,6 +1511,7 @@ main(int argc, char *argv[]) return 1; } } +#endif /* disabled protocols as per configuration file */ if (gdp_path == NULL && dp_path == NULL) { |