diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-08-26 22:04:41 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-08-26 22:28:40 +0900 |
commit | 7150d02500f5c483c956a860a86d1255ed801837 (patch) | |
tree | 0b446b957310d86d6ce086824fdec66ef937a88c /table/message.go | |
parent | aa252a18b95db8731a2abff03b03b57943c72f3d (diff) |
table: remove the limit of the number of packed NLRI in one message
With experiments about the full routes, we hit the limit. Let's remove
it.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table/message.go')
-rw-r--r-- | table/message.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/table/message.go b/table/message.go index 212cf2c1..2597749a 100644 --- a/table/message.go +++ b/table/message.go @@ -201,10 +201,6 @@ func isMergeable(p1, p2 *Path, msg *bgp.BGPMessage) bool { } u := msg.Body.(*bgp.BGPUpdate) - // arbitrary number. just avoid too many NLRIs in one message. - if len(u.NLRI) > 16 { - return false - } msgLen := func(u *bgp.BGPUpdate) int { attrsLen := 0 |