Skip to content

fix: make default-local-pref usable#152

Merged
natesales merged 1 commit intonatesales:mainfrom
yoursunny:defaultlocalpref
Jan 23, 2023
Merged

fix: make default-local-pref usable#152
natesales merged 1 commit intonatesales:mainfrom
yoursunny:defaultlocalpref

Conversation

@yoursunny
Copy link
Copy Markdown
Contributor

Due to a logical error in process.Load, any peer with default-local-pref property set is resulting in error:

FATA[0000] Both DefaultLocalPref and OptimizeInbound set, Pathvector cannot optimize this peer. 

This above error occurs even if optimize-inbound is not set.

This patch fixes this logical error and makes default-local-pref usable again.

Copy link
Copy Markdown
Owner

@natesales natesales left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! Just one minor thing to update here.

@natesales natesales merged commit 263266e into natesales:main Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants