Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] Is it a bug with Wireshark?

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Sun, 13 Apr 2008 17:35:01 +0200
Hi,

You're trying to use a read filter as display filter for a running capture. That is not supported. You can use -R with -r.

You might want to file a improvement request on bugzilla for that.

Thanx,
Jaap


Vinay Chilakamarri wrote:
Hi,

After many attempts at this, I couldn't understand why WireShark disregards the "-R" argument. I worked with tshark with valid display filters and passed them with "-R" argument and they were working as expected. But when I try the same with wireshark, no matter how I tried supplying the filter with "-R" argument, it displays all of the packets. I tried this in windows, while it doesn't filter anything:

wireshark -f "udp port 37112" -i2 -k  -R"(wlan.addr==00:2E:E0:76:5D:83)"

wireshark -f "udp port 37112"   -R"wlan.addr==\"00:2E:E0:76:5D:83"" -i2 -k

wireshark -f "udp port 37112"   -R'wlan.addr==00:2E:E0:76:5D:83' -i2 -k

wireshark -f "udp port 37112"   -R wlan.addr==00:2E:E0:76:5D:83 -i2 -k