Skip to content

Fix routing to public addresses#36617

Merged
rosstimothy merged 1 commit intomasterfrom
tross/fix_public_addr_routing
Jan 12, 2024
Merged

Fix routing to public addresses#36617
rosstimothy merged 1 commit intomasterfrom
tross/fix_public_addr_routing

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

#36584 allowed routing to work for public addresses, however it used GetPublicAddr to retrieve the public address. types.Server can have multiple public addresses though which means routing was only ever considering the first public address defined. This updates the routing logic to use GetPublicAddrs so they are all considered.

Changelog: Fixed routing to nodes by their public addresses

@rosstimothy rosstimothy force-pushed the tross/fix_public_addr_routing branch from 47b08c6 to 4121b81 Compare January 12, 2024 15:11
@rosstimothy rosstimothy force-pushed the tross/fix_public_addr_routing branch 2 times, most recently from 65c12b5 to 42dbbf5 Compare January 12, 2024 15:14
#36584 allowed routing to work for public addresses, however it
used GetPublicAddr to retrieve the public address. types.Server can
have multiple public addresses though which means routing was only
ever considering the first public address defined. This updates
the routing logic to use GetPublicAddrs so they are all considered.
@rosstimothy rosstimothy force-pushed the tross/fix_public_addr_routing branch from 42dbbf5 to 5da7f40 Compare January 12, 2024 15:16
@rosstimothy rosstimothy enabled auto-merge January 12, 2024 15:17
@rosstimothy rosstimothy added this pull request to the merge queue Jan 12, 2024
Merged via the queue into master with commit a39c217 Jan 12, 2024
@rosstimothy rosstimothy deleted the tross/fix_public_addr_routing branch January 12, 2024 15:56
@public-teleport-github-review-bot
Copy link
Copy Markdown

@rosstimothy See the table below for backport results.

Branch Result
branch/v12 Failed
branch/v13 Failed
branch/v14 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants