summaryrefslogtreecommitdiff
path: root/src/packet/question.rs
diff options
context:
space:
mode:
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
+}