diff options
Diffstat (limited to 'table/destination.go')
-rw-r--r-- | table/destination.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/table/destination.go b/table/destination.go index 21857e44..af74f8fd 100644 --- a/table/destination.go +++ b/table/destination.go @@ -127,7 +127,7 @@ func (i *PeerInfo) String() string { func NewPeerInfo(g *config.Global, p *config.Neighbor) *PeerInfo { id := net.ParseIP(string(p.RouteReflector.Config.RouteReflectorClusterId)).To4() // exclude zone info - naddr, _ := net.ResolveIPAddr("ip", p.Config.NeighborAddress) + naddr, _ := net.ResolveIPAddr("ip", p.State.NeighborAddress) return &PeerInfo{ AS: p.Config.PeerAs, LocalAS: g.Config.As, |