Skip to content
Snippets Groups Projects
Unverified Commit 3edbc74a authored by takt's avatar takt Committed by GitHub
Browse files

Merge pull request #49 from bio-routing/feature/fixed_default_client_option

fixed default client options
parents c9847d22 0e6b4e2e
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,9 @@ func (s *establishedState) init() { ...@@ -64,7 +64,9 @@ func (s *establishedState) init() {
LocalASN: s.fsm.peer.localASN, LocalASN: s.fsm.peer.localASN,
} }
clientOptions := routingtable.ClientOptions{} clientOptions := routingtable.ClientOptions{
BestOnly: true,
}
if s.fsm.capAddPathSend { if s.fsm.capAddPathSend {
s.fsm.updateSender = newUpdateSenderAddPath(s.fsm) s.fsm.updateSender = newUpdateSenderAddPath(s.fsm)
s.fsm.adjRIBOut = adjRIBOutAddPath.New(n) s.fsm.adjRIBOut = adjRIBOutAddPath.New(n)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment