@@ -66,7 +66,7 @@ impl<'a> NetworkInterface<'a> {
6666 let ethernet_addr = EthernetAddress ( [ mac[ 0 ] , mac[ 1 ] , mac[ 2 ] , mac[ 3 ] , mac[ 4 ] , mac[ 5 ] ] ) ;
6767 let hardware_addr = HardwareAddress :: Ethernet ( ethernet_addr) ;
6868
69- info ! ( "MAC address {hardware_addr}" ) ;
69+ info ! ( "MAC address: {hardware_addr}" ) ;
7070 let capabilities = device. capabilities ( ) ;
7171 info ! ( "{:?}" , capabilities. checksum) ;
7272 info ! ( "MTU: {} bytes" , capabilities. max_transmission_unit) ;
@@ -131,12 +131,12 @@ impl<'a> NetworkInterface<'a> {
131131 let hardware_addr = HardwareAddress :: Ethernet ( ethernet_addr) ;
132132 let ip_addr = IpCidr :: from ( Ipv4Cidr :: from_netmask ( myip, mymask) . unwrap ( ) ) ;
133133
134- info ! ( "MAC address {hardware_addr}" ) ;
135- info ! ( "Configure network interface with address {ip_addr}" ) ;
136- info ! ( "Configure gateway with address {mygw}" ) ;
134+ info ! ( "MAC address: {hardware_addr}" ) ;
137135 let capabilities = device. capabilities ( ) ;
138136 info ! ( "{:?}" , capabilities. checksum) ;
139137 info ! ( "MTU: {} bytes" , capabilities. max_transmission_unit) ;
138+ info ! ( "IP address: {ip_addr}" ) ;
139+ info ! ( "Gateway: {mygw}" ) ;
140140
141141 // use the current time based on the wall-clock time as seed
142142 let mut config = Config :: new ( hardware_addr) ;
0 commit comments