diff options
-rw-r--r-- | config/default.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/default.go b/config/default.go index be6a8cf7..283ee629 100644 --- a/config/default.go +++ b/config/default.go @@ -90,7 +90,7 @@ func SetDefaultConfigValues(md toml.MetaData, bt *Bgp) error { } } - if _, ok := n.attributes["Neighbors.NeighborList.NeighborConfig"]; !ok { + if _, ok := n.attributes["Neighbors.NeighborList.NeighborConfig.PeerType"]; !ok { if neighbor.NeighborConfig.PeerAs != bt.Global.GlobalConfig.As { neighbor.NeighborConfig.PeerType = PEER_TYPE_EXTERNAL } else { |