From 220b7cd7b56bf2233d6c069ec0277282bdb4cc98 Mon Sep 17 00:00:00 2001 From: chrysn Date: Thu, 12 Oct 2023 23:54:13 +0200 Subject: [PATCH] gnrc: Fix address conversion build failure When building with_embedded_nal, a build regression was introduced in 0ecf87e765f7264e79226540b694eb50993c7882 through careless refactoring. This restores buildability. --- src/gnrc/ipv6.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gnrc/ipv6.rs b/src/gnrc/ipv6.rs index b6a42e36..d8d401ae 100644 --- a/src/gnrc/ipv6.rs +++ b/src/gnrc/ipv6.rs @@ -180,7 +180,7 @@ impl From for Address { #[cfg(feature = "with_embedded_nal")] impl From
for embedded_nal::Ipv6Addr { fn from(addr: Address) -> Self { - Self::from(self.raw()) + Self::from(*addr.raw()) } }