mirror of
https://github.com/ValdikSS/GoodbyeDPI.git
synced 2024-12-22 06:15:27 +00:00
Calculate checksums even there's no packet modifications.
This commit is contained in:
parent
2f0429027d
commit
9fa2956065
@ -428,6 +428,10 @@ int main(int argc, char *argv[]) {
|
||||
if (should_recalc_checksum) {
|
||||
WinDivertHelperCalcChecksums(packet, packetLen, 0);
|
||||
}
|
||||
else {
|
||||
WinDivertHelperCalcChecksums(packet, packetLen,
|
||||
WINDIVERT_HELPER_NO_REPLACE);
|
||||
}
|
||||
WinDivertSend(w_filter, packet, packetLen, &addr, NULL);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user