From 11d4a0db4eec37ab7f4cd37b92f93fb56d6a5fc2 Mon Sep 17 00:00:00 2001 From: Jonathan Barrow Date: Sun, 28 Aug 2022 00:27:16 -0400 Subject: [PATCH] Updated StationURL api --- register.go | 4 ++-- register_ex.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/register.go b/register.go index bb32bac..e7bb74b 100644 --- a/register.go +++ b/register.go @@ -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() diff --git a/register_ex.go b/register_ex.go index ea07af1..db3fe96 100644 --- a/register_ex.go +++ b/register_ex.go @@ -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()