diff options
author | Eiichiro Watanabe <a16tochjp@gmail.com> | 2018-11-12 17:12:04 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-11-12 21:32:07 +0900 |
commit | 0eb3dcede55433facbeab23e753d3ab991b5e33b (patch) | |
tree | a34744934fe0780cb4008a9481c4e7237a5dfd17 /cmd/gobgpd | |
parent | 4cc7a81e8f5ae3c6584f26a1d9300e0522fdab7d (diff) |
Fix intervals for MRT
Diffstat (limited to 'cmd/gobgpd')
-rw-r--r-- | cmd/gobgpd/main.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd/gobgpd/main.go b/cmd/gobgpd/main.go index 262883ee..c880b4b4 100644 --- a/cmd/gobgpd/main.go +++ b/cmd/gobgpd/main.go @@ -255,9 +255,10 @@ func main() { continue } if err := bgpServer.EnableMrt(context.Background(), &api.EnableMrtRequest{ - DumpType: int32(c.Config.DumpType.ToInt()), - Filename: c.Config.FileName, - Interval: c.Config.DumpInterval, + DumpType: int32(c.Config.DumpType.ToInt()), + Filename: c.Config.FileName, + DumpInterval: c.Config.DumpInterval, + RotationInterval: c.Config.RotationInterval, }); err != nil { log.Fatalf("failed to set mrt config: %s", err) } |