Skip to content

Commit

Permalink
device: derive traits for AllowedIP (cloudflare#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah-Kennedy authored Aug 8, 2022
1 parent ee3051d commit 309558a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boringtun/src/device/peer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub struct Peer {
preshared_key: Option<[u8; 32]>,
}

#[derive(Debug)]
#[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug)]
pub struct AllowedIP {
pub addr: IpAddr,
pub cidr: u8,
Expand Down

0 comments on commit 309558a

Please sign in to comment.