Compare commits
No commits in common. "efe7d76fbcb7dabf79200e0ac387a8778c4cfe9e" and "b9399611816303da5a06dcfb30a6ab51f70ed4c1" have entirely different histories.
efe7d76fbc
...
b939961181
3 changed files with 1 additions and 15 deletions
|
|
@ -23,7 +23,6 @@
|
||||||
git
|
git
|
||||||
pkg-config
|
pkg-config
|
||||||
openssl
|
openssl
|
||||||
protobuf
|
|
||||||
];
|
];
|
||||||
shellHook = "exec fish";
|
shellHook = "exec fish";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -33,17 +33,7 @@ pub mod domain {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// Type of domain value.
|
/// Type of domain value.
|
||||||
#[derive(
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
||||||
Clone,
|
|
||||||
Copy,
|
|
||||||
Debug,
|
|
||||||
PartialEq,
|
|
||||||
Eq,
|
|
||||||
Hash,
|
|
||||||
PartialOrd,
|
|
||||||
Ord,
|
|
||||||
::prost::Enumeration
|
|
||||||
)]
|
|
||||||
#[repr(i32)]
|
#[repr(i32)]
|
||||||
pub enum Type {
|
pub enum Type {
|
||||||
/// The value is used as is.
|
/// The value is used as is.
|
||||||
|
|
|
||||||
|
|
@ -69,9 +69,6 @@ impl fmt::Display for PacketInfo {
|
||||||
// y:y:y:y:y:y:y:y = 8 hexademical; y = segment, pair of 2 u8 big endian
|
// y:y:y:y:y:y:y:y = 8 hexademical; y = segment, pair of 2 u8 big endian
|
||||||
write!(
|
write!(
|
||||||
f,
|
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
|
|
||||||
"{:x}:{:x}:{:x}:{:x}:{:x}:{:x}:{:x}:{:x} port:{} -> {:x}:{:x}:{:x}:{:x}:{:x}:{:x}:{:x}:{:x} port:{} {:?} is dns? {:?}",
|
"{: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[0],
|
||||||
src_ip[1],
|
src_ip[1],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue