summaryrefslogtreecommitdiffhomepage
path: root/config/serve.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-03-20 00:47:54 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-03-20 01:05:44 +0900
commitd2a74762413ac79e53670103078eff164127412c (patch)
treee1547988163b1d42839b3fa3aa26bf65cb85cf4a /config/serve.go
parent2a0168f8674483b232962cfca7dda34d6ddacc52 (diff)
server: change mrt config format
to be consistent with others. 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 cb213ed8..afa8f340 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"`
+ MrtDump []Mrt `mapstructure:"mrt-dump"`
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,
- MrtDump: c.Mrt,
+ MrtDump: c.MrtDump,
}
err = SetDefaultConfigValues(v, b)
if err != nil {