Changeset 3309 for branch/UMPA/umpa/packets.py
- Timestamp:
- 08/02/08 13:12:43 (5 years ago)
- Files:
-
- 1 modified
-
branch/UMPA/umpa/packets.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branch/UMPA/umpa/packets.py
r3293 r3309 64 64 proto_id = 0 65 65 for proto in reversed(self.protos): 66 raw_proto, bit_proto = proto.get_raw(tuple(self.protos), self.bits) 66 # unfortunately we must pass list of prototocols to every protocol 67 # because some fields handle with other protocols, so they need 68 # an access to them 69 raw_proto, bit_proto = proto._get_raw(tuple(self.protos), self.bits) 67 70 self.raw |= raw_proto << self.bits 68 71 self.bits += bit_proto
