summaryrefslogtreecommitdiffhomepage
path: root/server/peer.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/peer.go')
-rw-r--r--server/peer.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/peer.go b/server/peer.go
index 966f77d3..62716e4c 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -152,10 +152,10 @@ func (peer *Peer) filterpath(path *table.Path) *table.Path {
if filterpath(peer, path) == nil {
return nil
}
- if !peer.isRouteServerClient() {
- path = path.Clone(path.IsWithdraw)
- path.UpdatePathAttrs(peer.fsm.gConf, peer.fsm.pConf)
- }
+
+ path = path.Clone(path.IsWithdraw)
+ path.UpdatePathAttrs(peer.fsm.gConf, peer.fsm.pConf)
+
options := &table.PolicyOptions{
Info: peer.fsm.peerInfo,
}