summaryrefslogtreecommitdiffhomepage
path: root/table/message.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/message.go')
-rw-r--r--table/message.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/message.go b/table/message.go
index 5b444ce0..4455e06b 100644
--- a/table/message.go
+++ b/table/message.go
@@ -215,7 +215,7 @@ func isMergeable(p1 Path, p2 Path) bool {
if p1.GetRouteFamily() != bgp.RF_IPv4_UC {
return false
}
- if p1.GetSource() == p2.GetSource() && isSamePathAttrs(p1.getPathAttrs(), p2.getPathAttrs()) {
+ if p1.GetSource().Equal(p2.GetSource()) && isSamePathAttrs(p1.getPathAttrs(), p2.getPathAttrs()) {
return true
}
return false