Skip to content

Commit

Permalink
Merge pull request #259 from jbaublitz/issue-245
Browse files Browse the repository at this point in the history
Fix incorrect datatype in Ifaddrmsg
  • Loading branch information
jbaublitz authored Jan 17, 2025
2 parents 0ad7923 + 38d422d commit 7e6f016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtnl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub struct Ifaddrmsg {
ifa_scope: RtScope,
/// Interface address index
#[getset(get = "pub")]
ifa_index: libc::c_int,
ifa_index: libc::c_uint,
/// Payload of [`Rtattr`]s
#[neli(input = "input.checked_sub(Self::header_size()).ok_or(DeError::InvalidInput(input))?")]
#[getset(get = "pub")]
Expand Down

0 comments on commit 7e6f016

Please sign in to comment.