From 8ee510d4cde3aed93b9ebde46938e9a7df51290c Mon Sep 17 00:00:00 2001 From: HimbeerserverDE Date: Sun, 17 Sep 2023 19:55:48 +0200 Subject: compile under new clang --- src/nlmsg.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nlmsg.rs') diff --git a/src/nlmsg.rs b/src/nlmsg.rs index b8fa857..5f0e554 100644 --- a/src/nlmsg.rs +++ b/src/nlmsg.rs @@ -113,7 +113,7 @@ impl<'a> NfNetlinkWriter<'a> { } } -pub type NetlinkType = u16; +pub type NetlinkType = u32; pub trait AttributeDecoder { fn decode_attribute(&mut self, attr_type: NetlinkType, buf: &[u8]) -> Result<(), DecodeError>; -- cgit v1.2.3