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