Update samples & test programs to the new version.

This commit is contained in:
basil00
2015-07-19 11:40:02 +08:00
parent 54f8640b89
commit 3bcf1ae7a0
6 changed files with 36 additions and 7 deletions
+4
View File
@@ -321,6 +321,10 @@ read_failed:
}
buf_len = (UINT)iolen;
}
if (addr.Direction == WINDIVERT_DIRECTION_OUTBOUND)
{
WinDivertHelperCalcChecksums(buf, buf_len, 0);
}
// (4) Verify that the packet is the same.
if (buf_len != packet_len)