diff options
-rw-r--r-- | src/base/inet.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/inet.cc b/src/base/inet.cc index bdd1b57ad..190a7a11e 100644 --- a/src/base/inet.cc +++ b/src/base/inet.cc @@ -124,7 +124,7 @@ EthAddr::string() const bool operator==(const EthAddr &left, const EthAddr &right) { - return memcmp(left.bytes(), right.bytes(), ETH_ADDR_LEN); + return !memcmp(left.bytes(), right.bytes(), ETH_ADDR_LEN); } ostream & |