Skip to content

Commit

Permalink
gnrc: Fix address conversion build failure
Browse files Browse the repository at this point in the history
When building with_embedded_nal, a build regression was introduced in
0ecf87e through careless refactoring.
This restores buildability.
  • Loading branch information
chrysn committed Oct 12, 2023
1 parent 234ec3f commit 220b7cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gnrc/ipv6.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ impl From<embedded_nal::Ipv6Addr> for Address {
#[cfg(feature = "with_embedded_nal")]
impl From<Address> for embedded_nal::Ipv6Addr {
fn from(addr: Address) -> Self {
Self::from(self.raw())
Self::from(*addr.raw())
}
}

Expand Down

0 comments on commit 220b7cd

Please sign in to comment.