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)] #[allow(unused)]
#[derive(Debug)] #[derive(Debug)]
pub struct Network { pub struct Network {
network_address: IpAddr, pub network_address: IpAddr,
broadcast_addr: IpAddr, pub broadcast_addr: IpAddr,
num_hosts: u32, pub num_hosts: u32,
} }
#[derive(Debug)] #[derive(Debug)]