From 896e3ab3130c4de44e8c0f4f974163c13aa50ff0 Mon Sep 17 00:00:00 2001 From: Mikhail Trishchenkov Date: Mon, 20 Mar 2023 16:11:13 +0700 Subject: [PATCH] Fix formatting --- aya/src/programs/xdp.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/aya/src/programs/xdp.rs b/aya/src/programs/xdp.rs index 909f95c4..f88b0e17 100644 --- a/aya/src/programs/xdp.rs +++ b/aya/src/programs/xdp.rs @@ -118,7 +118,11 @@ impl Xdp { /// kernels `>= 5.9.0`, and instead /// [`XdpError::NetlinkError`] is returned for older /// kernels. - pub fn attach_to_if_index(&mut self, if_index: libc::c_uint, flags: XdpFlags) -> Result { + pub fn attach_to_if_index( + &mut self, + if_index: libc::c_uint, + flags: XdpFlags, + ) -> Result { let prog_fd = self.data.fd_or_err()?; let if_index = if_index as RawFd;