summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/peer.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/server/peer.go b/server/peer.go
index ceeca0c5..95d3839e 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -172,12 +172,6 @@ func (peer *Peer) handleBGPmessage(m *bgp.BGPMessage) ([]*table.Path, bool, []*b
}
}
- for _, rf := range peer.configuredRFlist() {
- if _, ok := r[rf]; ok {
- peer.rfMap[rf] = true
- }
- }
-
// calculate HoldTime
// RFC 4271 P.13
// a BGP speaker MUST calculate the value of the Hold Timer