Show
Ignore:
Timestamp:
08/12/08 18:34:09 (5 years ago)
Author:
getxsick
Message:

cleaning.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branch/UMPA/umpa/protocols/TCP.py

    r3411 r3419  
    487487            pheader = PseudoHeader(self.protocol_id, total_length) 
    488488            # generate raw value of it 
    489             pheader_bits = pheader._get_raw(protocol_container, 
     489            pheader_raw = pheader._get_raw(protocol_container, 
    490490                                                        protocol_bits)[0] 
    491491            # added pseudo header bits to cksum value 
    492             cksum |= pheader_bits << offset 
     492            cksum |= pheader_raw << offset 
    493493 
    494494            # finally, calcute and apply checksum