From d553894871b28efddbbedbf6880dd599a79cfe70 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Fri, 6 Nov 2015 00:15:06 -0800 Subject: server: kill unncessary rfMap update Signed-off-by: FUJITA Tomonori --- server/peer.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'server/peer.go') 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 -- cgit v1.2.3