Ticket #4: packet_length.patch
| File packet_length.patch, 383 bytes (added by farshad@parspooyesh.com, 3 years ago) |
|---|
-
pyrad/packet.py
old new 305 308 if len(packet)!=length: 306 309 raise PacketError, "Packet has invalid length" 307 310 if length>8192: 308 raise PacketError, "Packet length is too long (%s)" % leng311 raise PacketError, "Packet length is too long (%s)"%length 309 312 310 313 self.clear() 311 314