Made netwrok struct parameters public

This commit is contained in:
Luke Else 2023-08-05 13:11:13 +01:00
parent f224cf4c29
commit aee8974e2b

View File

@ -23,9 +23,9 @@ enum NetworkClass {
#[allow(unused)]
#[derive(Debug)]
pub struct Network {
network_address: IpAddr,
broadcast_addr: IpAddr,
num_hosts: u32,
pub network_address: IpAddr,
pub broadcast_addr: IpAddr,
pub num_hosts: u32,
}
#[derive(Debug)]