ec_udp.c (ettercap-0.8.3) | : | ec_udp.c (ettercap-0.8.3.1) | ||
---|---|---|---|---|
skipping to change at line 142 | skipping to change at line 142 | |||
/* | /* | |||
* in unoffensive mode the filters don't touch | * in unoffensive mode the filters don't touch | |||
* the packet, so we don't have to check here | * the packet, so we don't have to check here | |||
* for unoffensive option | * for unoffensive option | |||
*/ | */ | |||
/* Adjustments after filters */ | /* Adjustments after filters */ | |||
if ((PACKET->flags & PO_MODIFIED) && (PACKET->flags & PO_FORWARDABLE)) { | if ((PACKET->flags & PO_MODIFIED) && (PACKET->flags & PO_FORWARDABLE)) { | |||
ORDER_ADD_SHORT(udp->ulen, PACKET->DATA.delta); | ||||
/* Recalculate checksum */ | /* Recalculate checksum */ | |||
udp->csum = CSUM_INIT; | udp->csum = CSUM_INIT; | |||
udp->csum = L4_checksum(PACKET); | udp->csum = L4_checksum(PACKET); | |||
} | } | |||
return NULL; | return NULL; | |||
} | } | |||
/*******************************************/ | /*******************************************/ | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added |