Skip to content

Refine ipv6 support#79

Merged
cnderrauber merged 2 commits intomasterfrom
multiple_nodeip
Mar 9, 2026
Merged

Refine ipv6 support#79
cnderrauber merged 2 commits intomasterfrom
multiple_nodeip

Conversation

@cnderrauber
Copy link
Copy Markdown
Contributor

  • Can set both ipv4 and ipv6 addr in NodeIP by node_ip: <v4>, <v6>
  • Resolve ipv6 addr by stun server when use_external_ip is true

* Can set both ipv4 and ipv6 addr in NodeIP by "node_ip: <v4>, <v6>"
* Resolve ipv6 addr by stun server when use_external_ip is true
return n.V4 == "" && n.V6 == ""
}

func (n *NodeIP) ToSlice() []string {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

:nit: rename to ToStringSlice

@cnderrauber cnderrauber merged commit 0e2e24b into master Mar 9, 2026
4 checks passed
@cnderrauber cnderrauber deleted the multiple_nodeip branch March 9, 2026 11:56
cnderrauber added a commit that referenced this pull request Apr 9, 2026
The ip filter is not applied before but #79
will include ipv6 addr, it could use internal
ip to ping stun server and cause problem
livekit/livekit#4437
cnderrauber added a commit that referenced this pull request Apr 9, 2026
The ip filter is not applied before but #79
will include ipv6 addr, it could use internal
ip to ping stun server and cause problem
livekit/livekit#4437
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