summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--config/serve.go4
-rw-r--r--docs/sources/configuration.md2
2 files changed, 3 insertions, 3 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 {
diff --git a/docs/sources/configuration.md b/docs/sources/configuration.md
index 62da19b2..89aa2c2c 100644
--- a/docs/sources/configuration.md
+++ b/docs/sources/configuration.md
@@ -37,7 +37,7 @@
address = "127.0.0.1"
port = 11019
-[[mrt]]
+[[mrt-dump]]
dump-type = "updates"
file-name = "/tmp/log/2006/01/02.1504.dump"
interval = 180