Skip to content

Commit

Permalink
Add derive Clone for linux::set::AllowedIp
Browse files Browse the repository at this point in the history
  • Loading branch information
xtexChooser authored and gluxon committed Sep 9, 2022
1 parent 37d0842 commit 4692519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linux/set/allowed_ip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<u8>,
Expand Down

0 comments on commit 4692519

Please sign in to comment.