summaryrefslogtreecommitdiffhomepage
path: root/config/serve.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/serve.go')
-rw-r--r--config/serve.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/serve.go b/config/serve.go
index 95658a97..6423dfd7 100644
--- a/config/serve.go
+++ b/config/serve.go
@@ -38,7 +38,7 @@ func ReadConfigfileServe(path, format string, configCh chan *BgpConfigSet) {
if err = v.UnmarshalExact(c); err != nil {
goto ERROR
}
- if err = SetDefaultConfigValues(v, c); err != nil {
+ if err = setDefaultConfigValuesWithViper(v, c); err != nil {
goto ERROR
}
if cnt == 0 {