aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2011-06-27 10:11:15 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2011-06-27 10:11:15 +0000
commit65d8f7c4c0c4481a12f477b3004bb08751f5a2d0 (patch)
tree2536c808ef6292d631466c1c4005665bf6bc2f03 /tshark.c
parent54e59e8cddc23d3ed09318f73731f7c4b200ab7b (diff)
Use the interface description instead of the interface name when
reporting an error. svn path=/trunk/; revision=37799
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 97f168af08..ba4908fe1a 100644
--- a/tshark.c
+++ b/tshark.c
@@ -2168,7 +2168,7 @@ capture_input_cfilter_error_message(capture_options *capture_opts, guint i, char
"so you can't use most display filter expressions as capture filters.\n"
"\n"
"See the User's Guide for a description of the capture filter syntax.",
- interface_opts.cfilter, interface_opts.name, error_message);
+ interface_opts.cfilter, interface_opts.descr, error_message);
dfilter_free(rfcode);
} else {
cmdarg_err(
@@ -2176,7 +2176,7 @@ capture_input_cfilter_error_message(capture_options *capture_opts, guint i, char
"\n"
"That string isn't a valid capture filter (%s).\n"
"See the User's Guide for a description of the capture filter syntax.",
- interface_opts.cfilter, interface_opts.name, error_message);
+ interface_opts.cfilter, interface_opts.descr, error_message);
}
}