Made netwrok struct parameters public
This commit is contained in:
parent
f224cf4c29
commit
aee8974e2b
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user