summaryrefslogtreecommitdiffhomepage
path: root/gobgpd/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'gobgpd/main.go')
-rw-r--r--gobgpd/main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go
index 1f64c76b..a5f1a559 100644
--- a/gobgpd/main.go
+++ b/gobgpd/main.go
@@ -206,6 +206,12 @@ func main() {
}
bgpConfig = &newConfig.Bgp
bgpServer.SetRpkiConfig(newConfig.Bgp.RpkiServers)
+ if err := bgpServer.SetBmpConfig(newConfig.Bgp.BmpServers); err != nil {
+ log.Fatalf("failed to set global config: %s", err)
+ }
+ if err := bgpServer.SetMrtConfig(newConfig.Bgp.Mrt); err != nil {
+ log.Fatalf("failed to set global config: %s", err)
+ }
added = newConfig.Bgp.Neighbors
if opts.GracefulRestart {
for i, n := range added {