diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-07-29 13:54:18 +0000 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-07-29 16:31:35 +0900 |
commit | e97a59c5390fc05ba75673fb4ff7e061c1e73e4f (patch) | |
tree | 07813290b57b33708e2b70a6724b0573a4e230fe /config/serve.go | |
parent | 4fec73235a5fe507bfdd6e9c1bc19325b2d65dbd (diff) |
config: curve out code specific to default neighbor config setting
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'config/serve.go')
-rw-r--r-- | config/serve.go | 2 |
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 { |