Skip to content
Snippets Groups Projects
Commit b32c285f authored by Oliver Herms's avatar Oliver Herms Committed by Daniel Czerwonk
Browse files

Fixing add path

parent 5646ee22
Branches
Tags go1.23.2
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