diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-11-23 21:43:50 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-11-23 21:43:50 +0900 |
commit | ab756c89379a9353663e5b18402ea2205ff86877 (patch) | |
tree | 0c8422185d91d3ef648f3cdbf0207333a6deb3d3 /server/fsm.go | |
parent | af72360f71ebd91de3c0e4548cb9d39367d7eba9 (diff) |
table: fix merging of v4 paths with addpath enabled
V4 NLRI needs more 4 bytes with addpath enabled.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/fsm.go')
-rw-r--r-- | server/fsm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/fsm.go b/server/fsm.go index aaa13922..556e1029 100644 --- a/server/fsm.go +++ b/server/fsm.go @@ -1445,7 +1445,7 @@ func (h *FSMHandler) sendMessageloop() error { return nil case o := <-h.outgoing.Out(): m := o.(*FsmOutgoingMsg) - for _, msg := range table.CreateUpdateMsgFromPaths(m.Paths) { + for _, msg := range table.CreateUpdateMsgFromPaths(m.Paths, h.fsm.marshallingOptions) { if err := send(msg); err != nil { return nil } |