From 03fbfa74d621ce648442e028ff7803aca729f834 Mon Sep 17 00:00:00 2001 From: basil00 Date: Sat, 2 Nov 2013 11:43:21 +0800 Subject: [PATCH] - Increase the maximum filter length to 128. --- CHANGELOG | 1 + include/windivert_device.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 44af798..c103c9c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -33,3 +33,4 @@ WinDivert 1.1.0 - The WinDivert driver now protects packet data from modification by other callout drivers and the user program. However, this comes at the cost of extra copying. + - The WinDivert service will no longer be created on a driver load error. diff --git a/include/windivert_device.h b/include/windivert_device.h index 6f170ec..be767d8 100644 --- a/include/windivert_device.h +++ b/include/windivert_device.h @@ -115,7 +115,7 @@ #define WINDIVERT_FILTER_TEST_GEQ 5 #define WINDIVERT_FILTER_TEST_MAX WINDIVERT_FILTER_TEST_GEQ -#define WINDIVERT_FILTER_MAXLEN 32 +#define WINDIVERT_FILTER_MAXLEN 128 #define WINDIVERT_FILTER_RESULT_ACCEPT (WINDIVERT_FILTER_MAXLEN+1) #define WINDIVERT_FILTER_RESULT_REJECT (WINDIVERT_FILTER_MAXLEN+2)