Skip to content
Snippets Groups Projects
Commit fa84d8df authored by Oliver Herms's avatar Oliver Herms
Browse files

Fixing add path

parent 4d41fee4
Branches
Tags
No related merge requests found
...@@ -86,6 +86,9 @@ func (s *establishedState) init() error { ...@@ -86,6 +86,9 @@ func (s *establishedState) init() error {
clientOptions := routingtable.ClientOptions{ clientOptions := routingtable.ClientOptions{
BestOnly: true, BestOnly: true,
} }
if s.fsm.options.AddPathRX {
clientOptions = s.fsm.peer.addPathSend
}
s.fsm.updateSender = newUpdateSender(s.fsm) s.fsm.updateSender = newUpdateSender(s.fsm)
s.fsm.updateSender.Start(time.Millisecond * 5) s.fsm.updateSender.Start(time.Millisecond * 5)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment