diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-08-23 05:25:30 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-08-23 05:25:30 +0000 |
commit | 71f7093cf3a81be8870086c9e9817aa87c4de02a (patch) | |
tree | 56517b2d298c68b70c488cd387da5258687074d8 /tshark.c | |
parent | f9aaaebdc8bd4b2eb5c726235543fe8eef1ec79c (diff) | |
download | wireshark-71f7093cf3a81be8870086c9e9817aa87c4de02a.tar.gz wireshark-71f7093cf3a81be8870086c9e9817aa87c4de02a.tar.bz2 wireshark-71f7093cf3a81be8870086c9e9817aa87c4de02a.zip |
Output a warning about kernel BPF JIT compiler beeing activated.
svn path=/trunk/; revision=51488
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -352,6 +352,14 @@ print_usage(gboolean print_ver) fprintf(output, " -G [report] dump one of several available reports and exit\n"); fprintf(output, " default report=\"fields\"\n"); fprintf(output, " use \"-G ?\" for more help\n"); +#ifdef __linux__ + fprintf(output, "\n"); + fprintf(output, "WARNING: dumpcap will enable kernel BPF JIT compiler if available.\n"); + fprintf(output, "You might want to reset it\n"); + fprintf(output, "By doing \"echo 0 > /proc/sys/net/core/bpf_jit_enable\"\n"); + fprintf(output, "\n"); +#endif + } static void |