diff options
Diffstat (limited to 'table/destination.go')
-rw-r--r-- | table/destination.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/table/destination.go b/table/destination.go index ca3a39f0..2577e7cb 100644 --- a/table/destination.go +++ b/table/destination.go @@ -103,8 +103,8 @@ func NewPeerInfo(g *config.Global, p *config.Neighbor) *PeerInfo { return &PeerInfo{ AS: p.Config.PeerAs, LocalAS: g.Config.As, - LocalID: g.Config.RouterId, - Address: p.Config.NeighborAddress, + LocalID: net.ParseIP(g.Config.RouterId).To4(), + Address: net.ParseIP(p.Config.NeighborAddress), RouteReflectorClient: p.RouteReflector.Config.RouteReflectorClient, RouteReflectorClusterID: id, } |