derive Eq for config
This commit is contained in:
parent
ccdcd9df17
commit
439092dc59
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ pub enum Event {
|
|||
Configured(Config),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub struct Config {
|
||||
pub address: Ipv4Cidr,
|
||||
pub gateway: Option<Ipv4Address>,
|
||||
|
|
Loading…
Reference in a new issue