From e706eabf648a770460d52583e7219e1b5957dcc9 Mon Sep 17 00:00:00 2001 From: pythops Date: Wed, 11 Sep 2024 19:53:20 +0200 Subject: [PATCH] fix export alignement --- oryx-tui/src/export.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/oryx-tui/src/export.rs b/oryx-tui/src/export.rs index 4f735fc..5cc6c85 100644 --- a/oryx-tui/src/export.rs +++ b/oryx-tui/src/export.rs @@ -39,7 +39,10 @@ pub fn export(packets: &[AppPacket]) -> AppResult<()> { writeln!( file, "{:39} {:^11} {:39} {:^11} ARP", - p.src_mac, "-", p.dst_mac, "-" + p.src_mac.to_string(), + "-", + p.dst_mac.to_string(), + "-" )?; } AppPacket::Ip(packet) => match packet {