Extend filter functionality for inverse matches.
commitf2bd3b7d6ca55a8a3408e36dbc6fd2f33c39130d
authorMarc Schink <swo-dev@marcschink.de>
Sat, 14 Feb 2015 15:19:02 +0000 (14 16:19 +0100)
committerMarc Schink <swo-dev@marcschink.de>
Tue, 17 Feb 2015 20:08:39 +0000 (17 21:08 +0100)
tree616cf83c040adb4305863d8b274333518233fe06
parent20dc1943f2d61008dc9a925820f9d962a3376e9a
Extend filter functionality for inverse matches.

The command-line options --filter and --filter-inst are now capable
of inverse matches. If a filter list has a tilde (~) as prefix the
matching sense is inverted.

Example:
 $ swodec --filter ~sync,ext

This filters for all packets except for synchronization and extension
packets.
src/main.c