Skip to content

Commit

Permalink
source/pcap-file: remove unused macro warning
Browse files Browse the repository at this point in the history
  • Loading branch information
catenacyber committed Jan 23, 2025
1 parent e89a979 commit 4ddaff4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/source-pcap-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,11 @@ void TmModuleDecodePcapFileRegister (void)
tmm_modules[TMM_DECODEPCAPFILE].flags = TM_FLAG_DECODE_TM;
}

#if defined(HAVE_SETVBUF) && defined(OS_LINUX)
#define PCAP_FILE_BUFFER_SIZE_DEFAULT 131072U // 128 KiB
#define PCAP_FILE_BUFFER_SIZE_MIN 4096U // 4 KiB
#define PCAP_FILE_BUFFER_SIZE_MAX 67108864U // 64MiB
#endif

void PcapFileGlobalInit(void)
{
Expand Down

0 comments on commit 4ddaff4

Please sign in to comment.