Refine ipv6 support (#4352)

* Refine ipv6 support

* go mod

* check ipv4 is set in turn
This commit is contained in:
cnderrauber
2026-03-09 20:43:00 +08:00
committed by GitHub
parent b34b047247
commit e963953817
5 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -796,7 +796,7 @@ func (conf *Config) updateFromCLI(c *cli.Command, baseFlags []cli.Flag) error {
conf.TURN.KeyFile = c.String("turn-key")
}
if c.IsSet("node-ip") {
conf.RTC.NodeIP = c.String("node-ip")
conf.RTC.NodeIP.UnmarshalString(c.String("node-ip"))
}
if c.IsSet("udp-port") {
conf.RTC.UDPPort.UnmarshalString(c.String("udp-port"))