Skip to content

Commit 9ba71f6

Browse files
committed
fix ipv4 ihl display val
1 parent d29d32f commit 9ba71f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • oryx-tui/src/packet/network/ip

oryx-tui/src/packet/network/ip/ipv4.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl Ipv4Packet {
5858
]),
5959
Row::new(vec![
6060
Span::styled("Internet Header Length", Style::new().bold()),
61-
Span::from(format!("{} bytes", self.ihl * 4)),
61+
Span::from(format!("{} bytes", self.ihl)),
6262
]),
6363
Row::new(vec![
6464
Span::styled("Type Of Service", Style::new().bold()),

0 commit comments

Comments
 (0)