diff --git a/src/linux/set/allowed_ip.rs b/src/linux/set/allowed_ip.rs index c8660b5..370c03d 100644 --- a/src/linux/set/allowed_ip.rs +++ b/src/linux/set/allowed_ip.rs @@ -5,7 +5,7 @@ use neli::nlattr::Nlattr; use std::convert::TryFrom; use std::net::IpAddr; -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct AllowedIp<'a> { pub ipaddr: &'a IpAddr, pub cidr_mask: Option,