This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.
1
1

Hello there,

I'm glad to say that I 've come up with a small contribution to Wireshark. Display Filter dialog box is created each time whenever the Expression button in the filter tool bar is pressed. Likewise it can create n times for n clicks.

This question is marked "community wiki".

asked 18 Oct '11, 22:09

Terrestrial%20shark's gravatar image

Terrestrial ...
96212829
accept rate: 42%

edited 18 Oct '11, 22:15


//global section

static GtkWidget *window= NULL;

..........

..........

..........

GtkWidget *

dfilter_expr_dlg_new(GtkWidget *filter_te) { if (window != NULL) {

    /* There's already an "Expression" dialog box; reactivate it. */
    reactivate_window(window);
    return window;
}
else
{ 
       //keep the code that is present inside dfilter_expr_dlg_new function in this else part
    }
}
permanent link

answered 18 Oct '11, 22:14

Terrestrial%20shark's gravatar image

Terrestrial ...
96212829
accept rate: 42%

edited 18 Oct '11, 22:22

The way to contribute code to wireshark is to create a "bug"-report on https://bugs.wireshark.org/ and attach the output of "svn diff". This way we don't lose track of all submissions.

permanent link

answered 20 Oct '11, 01:17

SYN-bit's gravatar image

SYN-bit ♦♦
17.1k957245
accept rate: 20%

Thanks :-) bug 6472.

(20 Oct '11, 02:22) Terrestrial ...
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×349
×165

question asked: 18 Oct '11, 22:09

question was seen: 2,739 times

last updated: 20 Oct '11, 02:29

p​o​w​e​r​e​d by O​S​Q​A