Ignore OSX .DS_Store files in -R file list

This commit is contained in:
Peter Haag 2018-06-24 13:05:20 +02:00
parent 9d187da615
commit 3c0c3f8d33
2 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,7 @@
2018-06-24
- Fix bookkeeper type - use key_t
- Add multiple packet repeaters to nfcapd/sfcapd. Up to 8 repeaters (-R) can be defined.
- Ignore OSX .DS_Store files in -R file list
2018-05-06
- New bookkeeper hash broke NfSen. Fixed. ported back to release 1.6.17

View File

@ -798,6 +798,9 @@ printf("DGB: short fts: '%s', filer_first: '%s', filter_last: '%s'\n",
continue;
if ( strstr(ftsent->fts_name, ".stat") != NULL )
continue;
// skip OSX DS_Store files
if ( strstr(ftsent->fts_name, ".DS_Store") != NULL )
continue;
// skip pcap file
if ( strstr(ftsent->fts_name, "pcap") != NULL )
continue;