cisco/libsrtp — pull request #85 by bernardotorres (2014-11-20 18:08:53+00:00)
Title: Add -f <pcap filter> option to pcap_decoder

The decoder needs to be ran with only the SRTP packets.
But most of the time, people have a capture made on the wild containing different types of packets.
To avoid having to transform the capture every time a capture is made, this options makes it easier through a standard pcap filter (e.g. "host 192.168.1.1 and port 5050").
The caveat is that the filter must be between quotes (").
The code to use the filter was already there, it just needed to be enabled in the command line.
I added the instructions to usage() as well.