Refactor: Fully migrated parser to full prost crate, auto-fmt; Fix: Remove no more needed tests

This commit is contained in:
Namilsk 2026-04-28 17:29:31 +03:00
parent c1bf670152
commit 0d81bae32a
8 changed files with 75 additions and 96 deletions

View file

@ -69,9 +69,9 @@ impl fmt::Display for PacketInfo {
// y:y:y:y:y:y:y:y = 8 hexademical; y = segment, pair of 2 u8 big endian
write!(
f,
// FIXME: fe80:0:0:0:93a:245e:daac:7a75 -> ff12:0:0:0:0:0:0:8384
// we should drop zeroes in display: fe80::93a:245e:daac:7a75 -> ff12::8384
// NOTE: fe80:0:0:93a:0:245e and fe80:0:93a:0:0:245e can NOT both be compressed to fe80::93a::245e by obvious reasons
// FIXME: fe80:0:0:0:93a:245e:daac:7a75 -> ff12:0:0:0:0:0:0:8384
// we should drop zeroes in display: fe80::93a:245e:daac:7a75 -> ff12::8384
// NOTE: fe80:0:0:93a:0:245e and fe80:0:93a:0:0:245e can NOT both be compressed to fe80::93a::245e by obvious reasons
"{:x}:{:x}:{:x}:{:x}:{:x}:{:x}:{:x}:{:x} port:{} -> {:x}:{:x}:{:x}:{:x}:{:x}:{:x}:{:x}:{:x} port:{} {:?} is dns? {:?}",
src_ip[0],
src_ip[1],