diff options
-rw-r--r-- | dumpcap.c | 2 | ||||
-rw-r--r-- | tshark.c | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -551,7 +551,7 @@ print_usage(gboolean print_ver) #ifdef __linux__ 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, "By doing \"echo 0 > /proc/sys/net/core/bpf_jit_enable\"\n"); fprintf(output, "\n"); #endif fprintf(output, "Example: dumpcap -i eth0 -a duration:60 -w output.pcapng\n"); @@ -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 |