diff options
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) } |