mirror of
https://github.com/PretendoNetwork/friends.git
synced 2026-03-21 18:04:11 -05:00
Updated StationURL api
This commit is contained in:
parent
5af7cc32ad
commit
11d4a0db4e
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user