From ff9fb7e1b5372326ff307072073acfbf81e1118d Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 12 Jan 2012 15:50:54 +0100 Subject: [PATCH] Assume offloading in use if 1/10th of the packets has a bad checksum. --- src/util-checksum.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util-checksum.h b/src/util-checksum.h index fb0fc8b814..dc14334cbd 100644 --- a/src/util-checksum.h +++ b/src/util-checksum.h @@ -31,6 +31,6 @@ int ChecksumAutoModeCheck(uint32_t thread_count, /* constant linked with detection of interface with * invalid checksums */ #define CHECKSUM_SAMPLE_COUNT 1000 -#define CHECKSUM_INVALID_RATIO 5 +#define CHECKSUM_INVALID_RATIO 10 #endif