diff options
Diffstat (limited to 'table/path.go')
-rw-r--r-- | table/path.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/table/path.go b/table/path.go index bfc967d2..05144812 100644 --- a/table/path.go +++ b/table/path.go @@ -90,7 +90,7 @@ func (path *Path) UpdatePathAttrs(global *config.Global, peer *config.Neighbor) return } - localAddress := peer.Transport.Config.LocalAddress + localAddress := net.ParseIP(peer.Transport.Config.LocalAddress) if peer.Config.PeerType == config.PEER_TYPE_EXTERNAL { // NEXTHOP handling path.SetNexthop(localAddress) |