diff --git a/repos/os/src/server/nic_router/ipv4_config.h b/repos/os/src/server/nic_router/ipv4_config.h index 304586d165..f92c396ed4 100644 --- a/repos/os/src/server/nic_router/ipv4_config.h +++ b/repos/os/src/server/nic_router/ipv4_config.h @@ -33,6 +33,12 @@ struct Net::Ipv4_config Ipv4_address gateway); Ipv4_config() { } + + bool operator != (Ipv4_config const &other) const + { + return interface != other.interface || + gateway != other.gateway; + } }; #endif /* _IPV4_CONFIG_H_ */