diff --git a/src/main.rs b/src/main.rs index 0a098b9c..e1c4a58c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -406,7 +406,7 @@ const APP: () = { let octets = settings.mac().octets; write!( &mut serial_string, - "{}-{}-{}-{}-{}-{}", + "{:02x}-{:02x}-{:02x}-{:02x}-{:02x}-{:02x}", octets[0], octets[1], octets[2], octets[3], octets[4], octets[5] ) .unwrap();