Fixes
This commit is contained in:
parent
feb1ec51c8
commit
90a9196a9d
10 changed files with 1121 additions and 49 deletions
|
|
@ -212,7 +212,7 @@ pub fn print_records(records: &Records, print_packets: bool) {
|
|||
}
|
||||
}
|
||||
if print_packets {
|
||||
let data = if data.len() >= 256 {
|
||||
let data = if data.len() >= 256 && *direction == Direction::ServerToClient {
|
||||
&data[0..256]
|
||||
} else {
|
||||
data.as_slice()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue