diff options
Diffstat (limited to 'gobgpd/main.go')
-rw-r--r-- | gobgpd/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go index c8f32926..aaf038a2 100644 --- a/gobgpd/main.go +++ b/gobgpd/main.go @@ -206,7 +206,7 @@ func main() { if c == nil { c = newConfig - if err := bgpServer.SetGlobalType(newConfig.Global); err != nil { + if err := bgpServer.Start(&newConfig.Global); err != nil { log.Fatalf("failed to set global config: %s", err) } if newConfig.Zebra.Config.Enabled { |