forked from osmocom/wireshark
Allow a display filter to be specified in openCaptureFile().
svn path=/trunk/; revision=45883
This commit is contained in:
parent
f28a5df5df
commit
2e6f4fafd4
|
@ -122,7 +122,7 @@ signals:
|
|||
|
||||
public slots:
|
||||
// in main_window_slots.cpp
|
||||
void openCaptureFile(QString& cf_path = *new QString());
|
||||
void openCaptureFile(QString& cf_path = *new QString(), QString &display_filter = *new QString());
|
||||
|
||||
#ifdef HAVE_LIBPCAP
|
||||
void captureCapturePrepared(capture_options *capture_opts);
|
||||
|
|
|
@ -67,10 +67,9 @@
|
|||
// Public slots
|
||||
//
|
||||
|
||||
void MainWindow::openCaptureFile(QString &cf_path)
|
||||
void MainWindow::openCaptureFile(QString &cf_path, QString &display_filter)
|
||||
{
|
||||
QString file_name = "";
|
||||
QString display_filter = "";
|
||||
dfilter_t *rfcode = NULL;
|
||||
int err;
|
||||
|
||||
|
|
Loading…
Reference in New Issue