diff options
Diffstat (limited to 'src/protocol/ipv6.rs')
| -rw-r--r-- | src/protocol/ipv6.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol/ipv6.rs b/src/protocol/ipv6.rs index 11666d4..f9e4321 100644 --- a/src/protocol/ipv6.rs +++ b/src/protocol/ipv6.rs @@ -59,14 +59,14 @@ use std::net::Ipv6Addr; * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ -#[derive(Clone, Debug, PartialEq, Eq)] +#[derive(Debug, PartialEq)] pub struct IPv6Extension { pub next_header: IPProtocol, pub ext_length: u8, // Extension total Length pub data: Vec<u8>, // Extension data length (ext_length - 2) } -#[derive(Clone, Debug, PartialEq, Eq)] +#[derive(Debug, PartialEq)] pub struct IPv6Header { pub version: u8, // 4 bit pub dsc: u8, // Differentiated Services Codepoint: 6 bit |
