The same issue on rhel-7. Tested on tcpdump-4.5.1-3.el7.
+++ This bug was initially created as a clone of Bug #1292055 +++
Description of problem:
In tcpdump-4.0.0-5.20090921gitdf3cb4.2.el6 new option -P was introduced (bug 1099701), but upstream uses -Q option for the same thing, so there is difference between RHEL and upstream. RHEL should use the same option as upstream.
--- Additional comment from Jaroslav Aster on 2015-12-16 06:03:31 EST ---
I suggest to save backward compatibility and use -P as an alias for -Q and print some warning when -P is used.
could you please confirm to me that setting -P/-Q is not supposed to work on aarch64? Other architectures work fine. Thanks.
tcpdump: nflog: pcap_setdirection() failed: Setting direction is not implemented on this platform
Yes, it is not supposed to work everywhere as stated here:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.