diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-16 19:13:32 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-16 19:13:32 +0900 |
commit | 1ee4e65bc9ed53887c9c835dfbb22d3b7817d71c (patch) | |
tree | a564456c286dbc48003830cdbf6915f48857022d /packet/bgp.go | |
parent | 63908917a29f27e2edd0ad43fa25decf5164e038 (diff) |
server: handle over 4096 byte size message
send notification.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'packet/bgp.go')
-rw-r--r-- | packet/bgp.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet/bgp.go b/packet/bgp.go index 3e11bf8c..c11cc25c 100644 --- a/packet/bgp.go +++ b/packet/bgp.go @@ -2584,7 +2584,8 @@ type BGPBody interface { } const ( - BGP_HEADER_LENGTH = 19 + BGP_HEADER_LENGTH = 19 + BGP_MAX_MESSAGE_LENGTH = 4096 ) type BGPHeader struct { |