self mac print

This commit is contained in:
asxalex 2024-10-26 11:17:46 +08:00
parent c28c9e2911
commit 93f3dbdcf9

View File

@ -14,6 +14,7 @@ pub struct DeviceConfig {
impl DeviceConfig {
pub fn new() -> Self {
let mac = generate_mac_address();
println!("self mac: {}", mac_to_string(&mac));
debug!("self mac: {}", mac_to_string(&mac));
DeviceConfig {
mac: RwLock::new(mac),