diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/default.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/default.go b/config/default.go index 094afb2b..405c17ad 100644 --- a/config/default.go +++ b/config/default.go @@ -101,8 +101,10 @@ func setDefaultNeighborConfigValuesWithViper(v *viper.Viper, n *Neighbor, asn ui if n.Config.PeerAs != n.Config.LocalAs { n.Config.PeerType = PEER_TYPE_EXTERNAL + n.State.PeerType = PEER_TYPE_EXTERNAL } else { n.Config.PeerType = PEER_TYPE_INTERNAL + n.State.PeerType = PEER_TYPE_INTERNAL } n.State.PeerAs = n.Config.PeerAs |