diff options
Diffstat (limited to 'gobgpd')
-rw-r--r-- | gobgpd/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go index aca52a7e..3e05d6a8 100644 --- a/gobgpd/main.go +++ b/gobgpd/main.go @@ -232,10 +232,10 @@ func main() { } } for _, c := range newConfig.MrtDump { - if len(c.FileName) == 0 { + if len(c.Config.FileName) == 0 { continue } - if err := bgpServer.EnableMrt(&c); err != nil { + if err := bgpServer.EnableMrt(&c.Config); err != nil { log.Fatalf("failed to set mrt config: %s", err) } } |