summaryrefslogtreecommitdiffhomepage
path: root/config/serve.go
diff options
context:
space:
mode:
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 {