summaryrefslogtreecommitdiff
path: root/staging/cli_eth.c
diff options
context:
space:
mode:
authorWhang Choi <wch0x01@gmail.com>2018-11-30 19:31:54 -0500
committerTobias Klauser <tklauser@distanz.ch>2018-12-02 17:26:52 +0100
commit04b3fe157db3e3aa22caf632928d5f06aa3f88bd (patch)
treefcd32379141cf3248614c53af565aa3ff9a90975 /staging/cli_eth.c
parente313a5415241cd2b0a81ae4ac55a53b36ab153ff (diff)
netsniff-ng: implement rotating capture files
Add a new option -O, --overwrite which allows to rotate capture files. The timestamp in the file name is replaced with a number that wraps around after reaching the specified number of files. Example usage: netsniff-ng -s -F 1KiB -O 10 -i eth0 -o /output/folder Fixes #147 Signed-off-by: Whang Choi <wch0x01@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/cli_eth.c')
0 files changed, 0 insertions, 0 deletions
ng line does not make a lot of sense. This error does not seem to cause any errors in the executable, thus I am not recommending that it be applied to any stable versions. Thanks to Nicholas Piggin for suggesting this solution. Fixes: 9994a33865f4 ("powerpc: Introduce entry_{32,64}.S, misc_{32,64}.S, systbl.S") Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Nicholas Piggin <npiggin@gmail.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/boot')