"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/protocols/ec_udp.c" between
ettercap-0.8.3.tar.gz and ettercap-0.8.3.1.tar.gz

About: ettercap is a multipurpose sniffer/interceptor/logger for switched LAN.

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

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)