diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-12-06 10:20:09 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-12-29 14:47:06 +0900 |
commit | d01c1586b9b1a25965448f9e15a05d94f2b22a5f (patch) | |
tree | 744609e474a9561dab792b60ab70d82696ab691e /test/performance_test | |
parent | 58946b7924840f1effc993e95440266479c668d5 (diff) |
config: use viper and support multiple configuration formats
// toml by default
$ gobgpd -f gobgpd.toml
// use -t to change configuration type
$ gobgpd -t yaml -f gobgpd.yaml
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/performance_test')
-rw-r--r-- | test/performance_test/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/performance_test/main.go b/test/performance_test/main.go index d005bcfa..4385dd68 100644 --- a/test/performance_test/main.go +++ b/test/performance_test/main.go @@ -72,7 +72,7 @@ func main() { }, } peer := newPeer(g, p, incoming) - peerMap[p.Transport.Config.LocalAddress.String()] = peer + peerMap[p.Transport.Config.LocalAddress] = peer } established := 0 ticker := time.NewTicker(time.Second * 5) |