summaryrefslogtreecommitdiffhomepage
path: root/config/default.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-04-12 09:39:09 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-04-12 09:39:09 +0900
commit9c3e5b159c6c9cc2f42302045006af721e33e2e9 (patch)
tree1162f97a33fd4dd67cd06f087bac29c81348d7b4 /config/default.go
parent8daa5116576b3e3582e6c8e05ae1b64f56197ec6 (diff)
packet: create bmp package
move bmp stuff from bgp to bmp package. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'config/default.go')
-rw-r--r--config/default.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/default.go b/config/default.go
index b9ce5366..7431d267 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/bmp"
"github.com/osrg/gobgp/packet/rtr"
"github.com/spf13/viper"
"net"
@@ -55,7 +56,7 @@ func SetDefaultConfigValues(v *viper.Viper, b *Bgp) error {
for idx, server := range b.BmpServers {
if server.Config.Port == 0 {
- server.Config.Port = bgp.BMP_DEFAULT_PORT
+ server.Config.Port = bmp.BMP_DEFAULT_PORT
}
b.BmpServers[idx] = server
}