diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-04-12 09:12:30 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-04-12 09:12:30 +0900 |
commit | 8daa5116576b3e3582e6c8e05ae1b64f56197ec6 (patch) | |
tree | 6fc1a336ba08c51cfac99da9127fa3117b517037 /config | |
parent | 1151436f137e32ac5d5ce9592cada872f47f312b (diff) |
packet: create rtr package
move rtr stuff from bgp to rtr package.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'config')
-rw-r--r-- | config/default.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/default.go b/config/default.go index 022f7458..b9ce5366 100644 --- a/config/default.go +++ b/config/default.go @@ -3,6 +3,7 @@ package config import ( "fmt" "github.com/osrg/gobgp/packet/bgp" + "github.com/osrg/gobgp/packet/rtr" "github.com/spf13/viper" "net" ) @@ -171,7 +172,7 @@ func SetDefaultConfigValues(v *viper.Viper, b *Bgp) error { for _, r := range b.RpkiServers { if r.Config.Port == 0 { - r.Config.Port = bgp.RPKI_DEFAULT_PORT + r.Config.Port = rtr.RPKI_DEFAULT_PORT } } |