diff --git a/aya/src/programs/xdp.rs b/aya/src/programs/xdp.rs index f88b0e17..63f00987 100644 --- a/aya/src/programs/xdp.rs +++ b/aya/src/programs/xdp.rs @@ -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 { let prog_fd = self.data.fd_or_err()?;