Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
Add [derive(Clone)] to Gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
canndrew committed Feb 8, 2016
1 parent c77cd32 commit ef0e1fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gateway.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ impl fmt::Display for PortMappingProtocol {
}

/// This structure represents a gateway found by the search functions.
#[derive(Debug, PartialEq, Eq, Hash)]
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub struct Gateway {
/// Socket address of the gateway
pub addr: SocketAddrV4,
Expand Down

0 comments on commit ef0e1fa

Please sign in to comment.