Skip to content

Conversation

@rcgoodfellow
Copy link
Collaborator

  • fix sync of v6 routes to dendrite

@rcgoodfellow rcgoodfellow self-assigned this Dec 18, 2025
@rcgoodfellow rcgoodfellow added this to the 18 milestone Dec 18, 2025
@rcgoodfellow rcgoodfellow marked this pull request as ready for review December 29, 2025 19:54
};
}

dpd_routes
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was doing the same thing as the result construction above, but ignoring the mg-lower tag and throwing out the result. This change uses result instead.

let cidr = Ipv6Net::new(p.value, p.length)?;
let dpd_routes = rt
.block_on(async { dpd.route_ipv6_get(&cidr).await })?
let dpd_routes =
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This change lines up with how we are doing things for IPv4. In particular looking for a route that is not found in dpd is not an error, it's a diff to be reconciled. This was breaking v6 routing in initial testing.

@rcgoodfellow rcgoodfellow merged commit 7ddbb6e into main Dec 29, 2025
14 of 15 checks passed
@rcgoodfellow rcgoodfellow deleted the ry/ipv6-fixes branch December 29, 2025 21:00
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.

3 participants