summaryrefslogtreecommitdiffhomepage
path: root/config/default.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-05-17 08:50:55 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-05-17 08:52:28 +0900
commit8fd25af4ce9ab902e24eb06644ef2e9c42cee7e0 (patch)
treefca38cf5df338ca0abae36c4579fb551fef2a66d /config/default.go
parent949c58fbf6d5ccb79ee87a5105968d3fe591a3a9 (diff)
zebra: make zebra config consistent with the rests
- split config and state - move to Bgp structure (aligned with Rpki, Bmp, and Mrt) Also makes zebra configured via GRPC channel. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'config/default.go')
-rw-r--r--config/default.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/default.go b/config/default.go
index 24dc08c7..02ec5784 100644
--- a/config/default.go
+++ b/config/default.go
@@ -34,8 +34,8 @@ func SetDefaultConfigValues(v *viper.Viper, b *BgpConfigSet) error {
}
}
- if b.Global.Zebra.Url == "" {
- b.Global.Zebra.Url = "unix:/var/run/quagga/zserv.api"
+ if b.Zebra.Config.Url == "" {
+ b.Zebra.Config.Url = "unix:/var/run/quagga/zserv.api"
}
if len(b.Global.AfiSafis) == 0 {