diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-11-06 00:15:06 -0800 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-11-06 00:15:06 -0800 |
commit | d553894871b28efddbbedbf6880dd599a79cfe70 (patch) | |
tree | c81c1c0d72c6c78aa1998a708d529cc2b800aec0 /server/peer.go | |
parent | 9643654a5634e7972f0dea837b0f06c0e8417003 (diff) |
server: kill unncessary rfMap update
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/peer.go')
-rw-r--r-- | server/peer.go | 6 |
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 |