summaryrefslogtreecommitdiffhomepage
path: root/gobgpd/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'gobgpd/main.go')
-rw-r--r--gobgpd/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go
index 3e05d6a8..aaabf333 100644
--- a/gobgpd/main.go
+++ b/gobgpd/main.go
@@ -212,7 +212,7 @@ func main() {
log.Fatalf("failed to set global config: %s", err)
}
if newConfig.Zebra.Config.Enabled {
- if err := bgpServer.StartZebraClient(&newConfig.Zebra); err != nil {
+ if err := bgpServer.StartZebraClient(&newConfig.Zebra.Config); err != nil {
log.Fatalf("failed to set zebra config: %s", err)
}
}