aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-27 10:11:15 +0000
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-27 10:11:15 +0000
commit731ebf244a7a176cbb130344aed292482e06d583 (patch)
tree2536c808ef6292d631466c1c4005665bf6bc2f03 /tshark.c
parent377657564eca80835068ab98160fddf5cc919464 (diff)
Use the interface description instead of the interface name when
reporting an error. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37799 f5534014-38df-0310-8fa8-9805f1628bb7
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);
}
}