summaryrefslogtreecommitdiffhomepage
path: root/cmd/gobgpd
diff options
context:
space:
mode:
authorEiichiro Watanabe <a16tochjp@gmail.com>2018-11-12 17:12:04 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-11-12 21:32:07 +0900
commit0eb3dcede55433facbeab23e753d3ab991b5e33b (patch)
treea34744934fe0780cb4008a9481c4e7237a5dfd17 /cmd/gobgpd
parent4cc7a81e8f5ae3c6584f26a1d9300e0522fdab7d (diff)
Fix intervals for MRT
Diffstat (limited to 'cmd/gobgpd')
-rw-r--r--cmd/gobgpd/main.go7
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)
}