Browse Source

Calculate checksums even there's no packet modifications.

pull/48/head
ValdikSS 8 years ago
parent
commit
9fa2956065
  1. 4
      goodbyedpi.c

4
goodbyedpi.c

@ -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…
Cancel
Save