Index: net/base/ip_address.cc |
diff --git a/net/base/ip_address.cc b/net/base/ip_address.cc |
index 060477ea7d41b73f5daef22e7d64e295277bd10b..d5f5154b42ff1a1094246f2467b9d2eeedb0864f 100644 |
--- a/net/base/ip_address.cc |
+++ b/net/base/ip_address.cc |
@@ -61,6 +61,10 @@ bool IPAddress::operator==(const IPAddress& that) const { |
return ip_address_ == that.ip_address_; |
} |
+bool IPAddress::operator!=(const IPAddress& that) const { |
+ return ip_address_ != that.ip_address_; |
+} |
+ |
bool IPAddress::operator<(const IPAddress& that) const { |
// Sort IPv4 before IPv6. |
if (ip_address_.size() != that.ip_address_.size()) { |