summaryrefslogtreecommitdiffhomepage
path: root/config/default.go
diff options
context:
space:
mode:
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 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
}
}