Skip to content

Commit

Permalink
fix(tui): ICMP extension label information incorrectly rendered in ho…
Browse files Browse the repository at this point in the history
…st details line
  • Loading branch information
fujiapple852 committed Oct 14, 2024
1 parent 8330628 commit 7c438ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/trippy-tui/src/frontend/render/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -693,9 +693,9 @@ fn fmt_details_line(
)
};
let ext_fmt = if let Some(extensions) = extensions {
format!("{}: [{}]", t!("geo"), format_extensions_all(extensions))
format!("{}: [{}]", t!("ext"), format_extensions_all(extensions))
} else {
format!("{}: <{}>", t!("geo"), t!("none"))
format!("{}: <{}>", t!("ext"), t!("none"))
};
let nat_fmt = match nat {
NatStatus::Detected => " [NAT]",
Expand Down

0 comments on commit 7c438ad

Please sign in to comment.