Use the interface description instead of the interface name when
authorMichael Tüxen <tuexen@fh-muenster.de>
Mon, 27 Jun 2011 10:11:15 +0000 (10:11 -0000)
committerMichael Tüxen <tuexen@fh-muenster.de>
Mon, 27 Jun 2011 10:11:15 +0000 (10:11 -0000)
reporting an error.

svn path=/trunk/; revision=37799

tshark.c

index 97f168af08bf5a813063c4a0a1e12a0075582329..ba4908fe1a789ed61be7dd06debde0e360ecd359 100644 (file)
--- 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);
   }
 }