aboutsummaryrefslogtreecommitdiff
path: root/nftnl/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'nftnl/src/lib.rs')
-rw-r--r--nftnl/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nftnl/src/lib.rs b/nftnl/src/lib.rs
index e47a600..31375bf 100644
--- a/nftnl/src/lib.rs
+++ b/nftnl/src/lib.rs
@@ -87,7 +87,7 @@ pub enum MsgType {
}
/// Denotes a protocol. Used to specify which protocol a table or set belongs to.
-#[derive(Debug, Copy, Clone)]
+#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
#[repr(u16)]
pub enum ProtoFamily {
Unspec = libc::NFPROTO_UNSPEC as u16,