aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2011-06-27 11:30:39 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2011-06-27 11:30:39 +0000
commit2c8c178f71de063527ab66d58c6811bbc0234460 (patch)
tree452bd362859778292e8ded8da51ad4df9810d023 /tshark.c
parentb979f2da27f2ee87edf75a741adfaba2fa6ff5a5 (diff)
Improve the report of illegal capture filters. Also show the interface description.
svn path=/trunk/; revision=37802
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tshark.c b/tshark.c
index ba4908fe1a..5045cf44a8 100644
--- a/tshark.c
+++ b/tshark.c
@@ -2159,7 +2159,7 @@ capture_input_cfilter_error_message(capture_options *capture_opts, guint i, char
if (dfilter_compile(interface_opts.cfilter, &rfcode) && rfcode != NULL) {
cmdarg_err(
- "Invalid capture filter: \"%s\" for interface %s!\n"
+ "Invalid capture filter \"%s\" for interface %s!\n"
"\n"
"That string looks like a valid display filter; however, it isn't a valid\n"
"capture filter (%s).\n"
@@ -2172,7 +2172,7 @@ capture_input_cfilter_error_message(capture_options *capture_opts, guint i, char
dfilter_free(rfcode);
} else {
cmdarg_err(
- "Invalid capture filter: \"%s\" for interface %s!\n"
+ "Invalid capture filter \"%s\" for interface %s!\n"
"\n"
"That string isn't a valid capture filter (%s).\n"
"See the User's Guide for a description of the capture filter syntax.",