aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-27 16:09:49 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-27 16:09:49 +0000
commitf4d706a364081d03f04f1d12af67ca62450fbdef (patch)
treeb7d0804f56eda56060c1f027e0e430969e854645 /dumpcap.c
parent95658e2530ebf1bbd808efaef11c1647ec6417d3 (diff)
Update suite-clopts.sh to match dumpcap's error output. Add a comment
to dumpcap.c about keeping the errors synced. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37805 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dumpcap.c b/dumpcap.c
index da02aa6fce..858e36b9d7 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -4416,6 +4416,10 @@ report_cfilter_error(capture_options *capture_opts, guint i, const char *errmsg)
g_log(LOG_DOMAIN_CAPTURE_CHILD, G_LOG_LEVEL_DEBUG, "Capture filter error: %s", errmsg);
pipe_write_block(2, SP_BAD_FILTER, tmp);
} else {
+ /*
+ * clopts_step_invalid_capfilter in test/suite-clopts.sh MUST match
+ * the error message below.
+ */
interface_opts = g_array_index(capture_opts->ifaces, interface_options, i);
fprintf(stderr,
"Invalid capture filter \"%s\" for interface %s!\n"