summaryrefslogtreecommitdiffhomepage
path: root/config/serve.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-03-20 00:09:44 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-03-20 00:09:44 +0900
commit731f4fa3ea2ea58b1dccdb62eb14a407594c81d8 (patch)
tree4aa29c89ab7824a66475674b0db9377695ebe812 /config/serve.go
parent66ac5a1051267c5d915461a2556ef33e8ac9e670 (diff)
server: support mrt dump rotation like Quagga
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'config/serve.go')
-rw-r--r--config/serve.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/serve.go b/config/serve.go
index 9cb3b31e..cb213ed8 100644
--- a/config/serve.go
+++ b/config/serve.go
@@ -30,7 +30,7 @@ func ReadConfigfileServe(path, format string, configCh chan BgpConfigSet) {
Neighbors []Neighbor `mapstructure:"neighbors"`
RpkiServers []RpkiServer `mapstructure:"rpki-servers"`
BmpServers []BmpServer `mapstructure:"bmp-servers"`
- Mrt Mrt `mapstructure:"mrt"`
+ Mrt []Mrt `mapstructure:"mrt"`
DefinedSets DefinedSets `mapstructure:"defined-sets"`
PolicyDefinitions []PolicyDefinition `mapstructure:"policy-definitions"`
}{}
@@ -46,7 +46,7 @@ func ReadConfigfileServe(path, format string, configCh chan BgpConfigSet) {
Neighbors: c.Neighbors,
RpkiServers: c.RpkiServers,
BmpServers: c.BmpServers,
- Mrt: c.Mrt,
+ MrtDump: c.Mrt,
}
err = SetDefaultConfigValues(v, b)
if err != nil {