Skip to content

fix(config): print the prefix in duplicate prefix errors - #177

Merged
encodeous merged 1 commit into
mainfrom
fix/config-duplicate-prefix-error
Nov 3, 2026
Merged

encodeous merged 1 commit into
mainfrom
fix/config-duplicate-prefix-error

Conversation

@encodeous

Copy link
Copy Markdown
Owner

Previously if 2 clients both get the same prefix, the error printed is mangled:
router foo has duplicate prefix {%!s(*state.StaticPrefixHealth=&{{{{0 2814…} 33} 0})}.
This fixes it to router foo has duplicate prefix 10.0.0.1/32

Previously if 2 clients both get the same prefix, the error printed is mangled:
router foo has duplicate prefix {%!s(*state.StaticPrefixHealth=&{{{{0 2814…} 33} 0})}.
This fixes it to router foo has duplicate prefix 10.0.0.1/32
@encodeous
encodeous merged commit 48c1e90 into main Nov 3, 2026
9 checks passed
@encodeous
encodeous deleted the fix/config-duplicate-prefix-error branch November 3, 2026 04:07
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