diff options
Diffstat (limited to 'gobgpd/main.go')
-rw-r--r-- | gobgpd/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go index 7a04eef7..8dddfa51 100644 --- a/gobgpd/main.go +++ b/gobgpd/main.go @@ -208,6 +208,9 @@ func main() { if err := bgpServer.SetZebraConfig(newConfig.Zebra); err != nil { log.Fatalf("failed to set zebra config: %s", err) } + if err := bgpServer.SetCollector(newConfig.Collector); err != nil { + log.Fatalf("failed to set collector config: %s", err) + } if err := bgpServer.SetRpkiConfig(newConfig.RpkiServers); err != nil { log.Fatalf("failed to set rpki config: %s", err) } |