From 4b7716edb0cb31a9f1fd198f23cb7b1a323ab61c Mon Sep 17 00:00:00 2001 From: basil00 Date: Mon, 6 Feb 2023 07:21:33 +0800 Subject: [PATCH] Fix filter object serialization bug. --- dll/windivert_shared.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dll/windivert_shared.c b/dll/windivert_shared.c index 88f16b0..f708d6a 100644 --- a/dll/windivert_shared.c +++ b/dll/windivert_shared.c @@ -345,6 +345,8 @@ static void WinDivertSerializeTest(PWINDIVERT_STREAM stream, case WINDIVERT_FILTER_FIELD_ENDPOINTID: case WINDIVERT_FILTER_FIELD_PARENTENDPOINTID: case WINDIVERT_FILTER_FIELD_TIMESTAMP: + case WINDIVERT_FILTER_FIELD_ETH_DST_ADDR: + case WINDIVERT_FILTER_FIELD_ETH_SRC_ADDR: WinDivertSerializeNumber(stream, filter->arg[1]); break; case WINDIVERT_FILTER_FIELD_PACKET: