self mac print
This commit is contained in:
parent
c28c9e2911
commit
93f3dbdcf9
@ -14,6 +14,7 @@ pub struct DeviceConfig {
|
|||||||
impl DeviceConfig {
|
impl DeviceConfig {
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
let mac = generate_mac_address();
|
let mac = generate_mac_address();
|
||||||
|
println!("self mac: {}", mac_to_string(&mac));
|
||||||
debug!("self mac: {}", mac_to_string(&mac));
|
debug!("self mac: {}", mac_to_string(&mac));
|
||||||
DeviceConfig {
|
DeviceConfig {
|
||||||
mac: RwLock::new(mac),
|
mac: RwLock::new(mac),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user