Add VLAN ID information to metadata output #470
Cirrus CI / unittest
failed
Jan 10, 2025 in 5m 1s
Task Summary
Instruction check failed in 00:01
Details
✅ 00:02 clone
✅ 00:06 registry
✅ 00:12 target
✅ 00:25 setup
✅ 00:01 before_cache
✅ 02:23 build
✅ 01:46 test
❌ 00:01 check
cargo fmt --check
Diff in /tmp/cirrus-ci-build/retis-events/src/skb.rs:245:
write!(f, "data_len {} ", meta.data_len)?;
}
if meta.vlan_tci != 0 {
�[31m- write!(f, "vlan_tci {:#x} vlan_id {} ", meta.vlan_tci, meta.vlan_tci & 0x0fff)?;
�(B�[m�[32m+ write!(
�(B�[m�[32m+ f,
�(B�[m�[32m+ "vlan_tci {:#x} vlan_id {} ",
�(B�[m�[32m+ meta.vlan_tci,
�(B�[m�[32m+ meta.vlan_tci & 0x0fff
�(B�[m�[32m+ )?;
�(B�[m }
write!(f, "priority {}", meta.priority)?;
}
Loading