Updated StationURL api

This commit is contained in:
Jonathan Barrow 2022-08-28 00:27:16 -04:00
parent 5af7cc32ad
commit 11d4a0db4e
2 changed files with 4 additions and 4 deletions

View File

@ -13,8 +13,8 @@ func register(err error, client *nex.Client, callID uint32, stationUrls []*nex.S
address := client.Address().IP.String()
port := strconv.Itoa(client.Address().Port)
localStation.SetAddress(&address)
localStation.SetPort(&port)
localStation.SetAddress(address)
localStation.SetPort(port)
localStationURL := localStation.EncodeToString()

View File

@ -15,8 +15,8 @@ func registerEx(err error, client *nex.Client, callID uint32, stationUrls []*nex
address := client.Address().IP.String()
port := strconv.Itoa(client.Address().Port)
localStation.SetAddress(&address)
localStation.SetPort(&port)
localStation.SetAddress(address)
localStation.SetPort(port)
localStationURL := localStation.EncodeToString()