Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cert-v2: more lighthousing #1251

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

JackDoanRivian
Copy link
Contributor

No description provided.

}
msg.Details.RelayVpnAddrs = relays
msg.Details.VpnAddr = netAddrToProtoAddr(lh.myVpnNetworks[0].Addr())
if v == cert.Version1 {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since we are reusing the msg struct we need to zero out the v2 fields in v1 and v1 fields in v2.

Copy link
Collaborator

@nbrownus nbrownus left a comment

Choose a reason for hiding this comment

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

I like this feels safer than my crazy version, I should go back and update the lh query stuff to match

@nbrownus nbrownus merged commit a56521e into slackhq:cert-v2 Oct 11, 2024
9 checks passed
@JackDoanRivian JackDoanRivian deleted the cert-v2-more-lighthousing branch October 14, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants