Remove extra blank lines from hex output
rping CI rping passed CI.
Archive/rping/pipeline/head This commit looks good Details

This commit is contained in:
Dandaedre 2026-09-17 16:55:07 +02:00
parent 2c7343f57d
commit 783c36fc8d
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
1 changed files with 2 additions and 2 deletions

View File

@ -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)
)