summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--table/message.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/table/message.go b/table/message.go
index c6437d18..97ec3b16 100644
--- a/table/message.go
+++ b/table/message.go
@@ -192,17 +192,11 @@ func CreateUpdateMsgFromPaths(pathList []*Path) []*bgp.BGPMessage {
var msgs []*bgp.BGPMessage
pathByAttrs := make(map[uint32][]*bucket)
- pathLen := len(pathList)
for _, path := range pathList {
if path == nil {
continue
}
y := func(p *Path) bool {
- // the merging logic makes gobgpd slower so if
- // paths are not many, let's avoid mering.
- if pathLen < 1024 {
- return false
- }
if p.GetRouteFamily() != bgp.RF_IPv4_UC {
return false
}