diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-06-27 16:09:49 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-06-27 16:09:49 +0000 |
commit | f4d706a364081d03f04f1d12af67ca62450fbdef (patch) | |
tree | b7d0804f56eda56060c1f027e0e430969e854645 /dumpcap.c | |
parent | 95658e2530ebf1bbd808efaef11c1647ec6417d3 (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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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" |