fix: remove debug message
This commit is contained in:
parent
926639387c
commit
b765d3eed4
1 changed files with 0 additions and 1 deletions
|
@ -10,7 +10,6 @@ impl TryFrom<Vec<u8>> for RawPacket {
|
|||
return Err(io::Error::new(io::ErrorKind::InvalidData, "Can't parse data into RawPacket"))
|
||||
}
|
||||
let data_length = (((data[0x12] as u16) << 8) | data[0x13] as u16) as usize;
|
||||
println!("LENGTH {data_length}");
|
||||
if data.len() < 0x14 + data_length {
|
||||
return Err(io::Error::new(io::ErrorKind::InvalidData, "Can't parse data into RawPacket"))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue