Skip to content

Commit

Permalink
Don't leak libc types
Browse files Browse the repository at this point in the history
  • Loading branch information
kriomant committed Mar 20, 2023
1 parent 896e3ab commit ce60854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aya/src/programs/xdp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ impl Xdp {
/// kernels.
pub fn attach_to_if_index(
&mut self,
if_index: libc::c_uint,
if_index: u32,
flags: XdpFlags,
) -> Result<XdpLinkId, ProgramError> {
let prog_fd = self.data.fd_or_err()?;
Expand Down

0 comments on commit ce60854

Please sign in to comment.