diff --git a/src/nat.rs b/src/nat.rs index 94e22cb..9870f7d 100644 --- a/src/nat.rs +++ b/src/nat.rs @@ -237,6 +237,7 @@ impl Nat { } } } + #[inline] fn select_inet_address(&mut self, paired_addr_idx: Option, src_port: u16) -> (usize, u16) { if self.flags & NO_PORT_PRESERVATION == 0 { let mut addr_perm: [usize; M] = std::array::from_fn(|i| i);