forked from osmocom/wireshark
The filter string can only be valid, if an interface is selected.
Change-Id: I578f6b46d5e2631c6315eb0a8b6141ba93ee21bb Reviewed-on: https://code.wireshark.org/review/1631 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
dcdd076ab0
commit
2828bf7777
|
@ -68,7 +68,7 @@ void CaptureFilterSyntaxWorker::start() {
|
|||
filter_text_ = QString();
|
||||
data_mtx_.unlock();
|
||||
|
||||
if (global_capture_opts.all_ifaces->len < 1) {
|
||||
if (global_capture_opts.num_selected < 1) {
|
||||
emit syntaxResult(filter, false, QString("No interfaces selected"));
|
||||
DEBUG_SYNTAX_CHECK("unknown", "no interfaces");
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue