Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compound filters not working #5

Open
emacsuser123 opened this issue Aug 25, 2016 · 2 comments
Open

Compound filters not working #5

emacsuser123 opened this issue Aug 25, 2016 · 2 comments

Comments

@emacsuser123
Copy link

Hi.

When I set a filter pressing 'f' like the following:

ip.src == 10.0.0.1

pcap-mode displays the corresponding packets perfectly.

But if I do:

ip.src == 10.0.0.1 && ip.dst == 10.0.0.2

Then, it seems that it is not honoring the second filter. It displays packets going to other ip's.

I have tried with parens, like the following:
(ip.src == 10.0.0.1) && (ip.dst == 10.0.0.2)

But it complains saying that parens are not allowed (although they are valid on tshark).

Thanks.
-Bob

@apconole
Copy link
Owner

Okay - I know the issue. I don't have a good solution yet, but give me a few days. meanwhile, enclose your filter in quotes.

ex: "ip.src == 10.0.0.1 && ip.dst == 10.0.0.2" instead of ip.src == 10.0.0.1 && ip.dst == 10.0.0.2

That should be the workaround for now. I'll fix it soon.

@emacsuser123
Copy link
Author

emacsuser123 commented Aug 25, 2016

Yeah, I have used double quotes and it works ok.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants