main
shellrow 3 years ago
parent 07c74649d1
commit 94d26cb15d
  1. 1
      examples/default_interface.rs

@ -6,6 +6,7 @@ fn main(){
println!("Default Interface"); println!("Default Interface");
println!("\tIndex: {}", default_interface.index); println!("\tIndex: {}", default_interface.index);
println!("\tName: {}", default_interface.name); println!("\tName: {}", default_interface.name);
println!("\tDescription: {:?}", default_interface.description);
if let Some(mac_addr) = default_interface.mac_addr { if let Some(mac_addr) = default_interface.mac_addr {
println!("\tMAC: {}", mac_addr); println!("\tMAC: {}", mac_addr);
}else{ }else{

Loading…
Cancel
Save