Remove extra blank lines from hex output
rping CI rping passed CI.
Archive/rping/pipeline/head This commit looks good
Details
rping CI rping passed CI.
Archive/rping/pipeline/head This commit looks good
Details
This commit is contained in:
parent
2c7343f57d
commit
783c36fc8d
|
|
@ -402,13 +402,13 @@ fn render_probe(config: &Config, index: u32, seq: u16, packet: &[u8], result: &P
|
|||
Output::Summary => println!("{}", probe_line(index, seq, result)),
|
||||
Output::Hex => {
|
||||
println!("[PROBE {}] sequence {}", index + 1, seq);
|
||||
println!(
|
||||
print!(
|
||||
"{}",
|
||||
rhexdump::hexdump::RhexdumpString::new().hexdump_bytes(packet)
|
||||
);
|
||||
match result {
|
||||
ProbeResult::Echo { response, .. } | ProbeResult::Error { response, .. } => {
|
||||
println!(
|
||||
print!(
|
||||
"{}",
|
||||
rhexdump::hexdump::RhexdumpString::new().hexdump_bytes(response)
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue