diff --git a/src/ip.rs b/src/ip.rs index eacbb05..4e7ad4e 100644 --- a/src/ip.rs +++ b/src/ip.rs @@ -16,6 +16,12 @@ pub struct IpData { pub number_of_timeouts: u64, } +impl Default for IpData { + fn default() -> Self { + Self::new() + } +} + impl IpData { pub fn new() -> IpData { IpData {