Committed by
Gerrit Code Review
bugfix: comparing wrong field
Change-Id: I800bf31f4941451c1896ebc4317c92639b3746fe
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -77,8 +77,8 @@ public class NextHop { | ... | @@ -77,8 +77,8 @@ public class NextHop { |
77 | 77 | ||
78 | NextHop that = (NextHop) other; | 78 | NextHop that = (NextHop) other; |
79 | 79 | ||
80 | - return Objects.equals(this.ip, that.mac) && | 80 | + return Objects.equals(this.ip, that.ip) && |
81 | - Objects.equals(this.ip, that.mac); | 81 | + Objects.equals(this.mac, that.mac); |
82 | } | 82 | } |
83 | 83 | ||
84 | @Override | 84 | @Override | ... | ... |
-
Please register or login to post a comment