summaryrefslogtreecommitdiffstats
path: root/tool/src/commands/dump.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tool/src/commands/dump.rs')
-rw-r--r--tool/src/commands/dump.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/src/commands/dump.rs b/tool/src/commands/dump.rs
index a587783b..5077ae66 100644
--- a/tool/src/commands/dump.rs
+++ b/tool/src/commands/dump.rs
@@ -240,8 +240,8 @@ impl PacketDumper {
if let Some(h) = header {
write!(output, "{} CTB, {}: ",
- if let CTB::Old(_) = h.ctb { "Old" } else { "New" },
- match h.length {
+ if let CTB::Old(_) = h.ctb() { "Old" } else { "New" },
+ match h.length() {
BodyLength::Full(n) =>
format!("{} bytes", n),
BodyLength::Partial(n) =>