summaryrefslogtreecommitdiffhomepage
path: root/server/peer.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/peer.go')
-rw-r--r--server/peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/peer.go b/server/peer.go
index 1baee6cb..966f77d3 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -157,7 +157,7 @@ func (peer *Peer) filterpath(path *table.Path) *table.Path {
path.UpdatePathAttrs(peer.fsm.gConf, peer.fsm.pConf)
}
options := &table.PolicyOptions{
- Neighbor: peer.fsm.peerInfo.Address,
+ Info: peer.fsm.peerInfo,
}
path = peer.policy.ApplyPolicy(peer.TableID(), table.POLICY_DIRECTION_EXPORT, path, options)