commit | e2a09caf8c0a627f9afd248c8a30ce4bebbea196 | [log] [tgz] |
---|---|---|
author | pingping-lin <pingping@onlab.us> | Sat Mar 23 09:33:58 2013 +0800 |
committer | pingping-lin <pingping@onlab.us> | Sat Mar 23 09:33:58 2013 +0800 |
tree | 24f0c86fa9d4255c27504c7d7d6c89802b76c4cf | |
parent | 6ae2d04657fbda43aa10a11da270247487a67686 [diff] [blame] |
Restful API for bgpd
diff --git a/src/main/java/net/floodlightcontroller/bgproute/Rib.java b/src/main/java/net/floodlightcontroller/bgproute/Rib.java index 71868ff..574e820 100644 --- a/src/main/java/net/floodlightcontroller/bgproute/Rib.java +++ b/src/main/java/net/floodlightcontroller/bgproute/Rib.java
@@ -40,6 +40,7 @@ public boolean equals(Rib r) { - return this.routerId == r.routerId && this.nextHop == r.nextHop && this.masklen == r.masklen; + return this.routerId.equals(r.routerId) && this.nextHop.equals(r.nextHop) && this.masklen == r.masklen; + } }