summaryrefslogtreecommitdiff
path: root/src/packet
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2023-08-14 11:03:42 +0800
committerluwenpeng <[email protected]>2023-08-14 11:03:42 +0800
commit53e184805feabca2724841dcf45f356d427ea6e6 (patch)
treea81915365369350eb007ff3a0f645cbc84bdc4d3 /src/packet
parent85973cd021fda0d62c5f3e786e2abb8c8296a1df (diff)
[feature] Add Decode trait
Diffstat (limited to 'src/packet')
-rw-r--r--src/packet/packet.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/packet/packet.rs b/src/packet/packet.rs
index 8980049..5ca75c9 100644
--- a/src/packet/packet.rs
+++ b/src/packet/packet.rs
@@ -1,4 +1,5 @@
use crate::packet::error::PacketError;
+use crate::protocol::codec::Decode;
use crate::protocol::dns::DNS_MESSAGE;
use crate::protocol::ethernet::EtherType;
use crate::protocol::ethernet::EthernetFrame;