netsniff-ng: omit '-' char in dump prefix
commit53d66a675dbaa05b97b1d117b8fc9b614b469f0e
authorDaniel Borkmann <borkmann@iogearbox.net>
Wed, 14 Nov 2012 14:41:56 +0000 (14 15:41 +0100)
committerDaniel Borkmann <borkmann@iogearbox.net>
Wed, 14 Nov 2012 14:41:56 +0000 (14 15:41 +0100)
tree0770a1fb5d3d12de1209459ae3c1d2d4df126716
parent51291a9fd6d1486ea317dfeb2cc2e1b9699c5881
netsniff-ng: omit '-' char in dump prefix

Based on user request:

  Thanks for all the fixes lately! I've got the latest git version
  packaged and it looks like we're making great progress!

  I'm running as follows:
  sudo netsniff-ng -i eth0 -o test/ --interval 1MiB -Psnort.log -s

  In my test directory, I have filenames like:
  snort.log-1352859267.pcap

  However, Sguil is expecting the filenames to be like this:
  snort.log.1352854983

  Would you mind fixing this format or making the format more
  configurable? Or should I just do a quick-and-dirty hack?

Reported-by: Doug Burks <doug.burks@gmail.com>
Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>
src/netsniff-ng.c