From 43bdb5f47f51a442b07bdb5f0a5a6f9b97b72b16 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Fri, 31 May 2013 16:17:38 +0200 Subject: netsniff-ng: minor: update help description Give -J a lower prio in the help option ranking and state that its only for replay or forwarding. Signed-off-by: Daniel Borkmann --- netsniff-ng.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/netsniff-ng.c b/netsniff-ng.c index e8eb3d4..4d9abc8 100644 --- a/netsniff-ng.c +++ b/netsniff-ng.c @@ -1022,7 +1022,6 @@ static void __noreturn help(void) " -f|--filter Use BPF filter file from bpfc or tcpdump-like expression\n" " -t|--type Filter for: host|broadcast|multicast|others|outgoing\n" " -F|--interval Dump interval if -o is a dir: KiB/MiB/GiB/s/sec/min/hrs\n" - " -J|--jumbo-support Support for 64KB Super Jumbo Frames (def: 2048B)\n" " -R|--rfraw Capture or inject raw 802.11 frames\n" " -n|--num <0|uint> Number of packets until exit (def: 0)\n" " -P|--prefix Prefix for pcaps stored in directory\n" @@ -1037,6 +1036,7 @@ static void __noreturn help(void) " -c|--clrw Use slower read(2)/write(2) I/O\n" " -S|--ring-size Specify ring size to: KiB/MiB/GiB\n" " -k|--kernel-pull Kernel pull from user interval in us (def: 10us)\n" + " -J|--jumbo-support Support replay/fwd 64KB Super Jumbo Frames (def: 2048B)\n" " -b|--bind-cpu Bind to specific CPU\n" " -u|--user Drop privileges and change to userid\n" " -g|--group Drop privileges and change to groupid\n" @@ -1055,8 +1055,8 @@ static void __noreturn help(void) " netsniff-ng --in wlan0 --rfraw --out dump.pcap --silent --bind-cpu 0\n" " netsniff-ng --in dump.pcap --mmap --out eth0 -k1000 --silent --bind-cpu 0\n" " netsniff-ng --in dump.pcap --out dump.cfg --silent --bind-cpu 0\n" - " netsniff-ng --in eth0 --out eth1 --silent --bind-cpu 0 --type host\n" - " netsniff-ng --in eth1 --out /opt/probe/ -s -m -J --interval 100MiB -b 0\n" + " netsniff-ng --in eth0 --out eth1 --silent --bind-cpu 0 -J --type host\n" + " netsniff-ng --in eth1 --out /opt/probe/ -s -m --interval 100MiB -b 0\n" " netsniff-ng --in vlan0 --out dump.pcap -c -u `id -u bob` -g `id -g bob`\n" " netsniff-ng --in any --filter http.bpf --jumbo-support --ascii -V\n\n" "Note:\n" -- cgit v1.2.3-54-g00ecf