summaryrefslogtreecommitdiff
path: root/src/packet/question.rs
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2023-03-03 00:10:21 -0500
committerTyler Murphy <tylermurphy534@gmail.com>2023-03-03 00:10:21 -0500
commit0f40ab89e3b523ac206077d932a0e2d40d75f7e0 (patch)
treec4914050d1bbca8af77347220c0785c8ebefa213 /src/packet/question.rs
parentclippy my beloved (diff)
downloadwrapper-0f40ab89e3b523ac206077d932a0e2d40d75f7e0.tar.gz
wrapper-0f40ab89e3b523ac206077d932a0e2d40d75f7e0.tar.bz2
wrapper-0f40ab89e3b523ac206077d932a0e2d40d75f7e0.zip
finialize initial dns + caching
Diffstat (limited to '')
-rw-r--r--src/packet/question.rs (renamed from packet/src/question.rs)4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet/src/question.rs b/src/packet/question.rs
index 076de00..9042e1c 100644
--- a/packet/src/question.rs
+++ b/src/packet/question.rs
@@ -1,6 +1,6 @@
use super::{buffer::PacketBuffer, query::QueryType, Result};
-#[derive(Debug, Clone, PartialEq, Eq)]
+#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct DnsQuestion {
pub name: String,
pub qtype: QueryType,
@@ -28,4 +28,4 @@ impl DnsQuestion {
Ok(())
}
-} \ No newline at end of file
+}