From 47a83c71f153afa96a9b335d31ab3b186f5627f1 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 21 Oct 2019 14:00:14 +0800 Subject: [PATCH] firmware: more readable network addresses message --- artiq/firmware/libboard_misoc/net_settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/libboard_misoc/net_settings.rs b/artiq/firmware/libboard_misoc/net_settings.rs index 1ab25b4e6..f58eae13f 100644 --- a/artiq/firmware/libboard_misoc/net_settings.rs +++ b/artiq/firmware/libboard_misoc/net_settings.rs @@ -16,7 +16,7 @@ pub struct NetAddresses { impl fmt::Display for NetAddresses { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "MAC:{} IPv4:{} IPv6-LL:{} IPv6:", + write!(f, "MAC={} IPv4={} IPv6-LL={} IPv6=", self.hardware_addr, self.ipv4_addr, self.ipv6_ll_addr)?; match self.ipv6_addr { Some(addr) => write!(f, "{}", addr)?,