Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Fischer committed Jan 15, 2025
1 parent 8abb588 commit 2762690
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/iface/interface/sixlowpan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,7 @@ fn decompress_ext_hdr<'d>(
}

// NOTE: we always inline this function into the sixlowpan_to_ipv6 function, since it is only used there.
#[allow(clippy::too_many_arguments)]
#[inline(always)]
fn decompress_udp(
address_context: &[SixlowpanAddressContext],
Expand Down
4 changes: 2 additions & 2 deletions src/wire/rpl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2440,8 +2440,8 @@ mod tests {
&mut buffer[..repr.buffer_len()],
));
icmp_repr.emit(
&src_addr.into(),
&dst_addr.into(),
&src_addr,
&dst_addr,
&mut Icmpv6Packet::new_unchecked(
&mut buffer[repr.buffer_len()..][..icmp_repr.buffer_len()],
),
Expand Down

0 comments on commit 2762690

Please sign in to comment.