diff --git a/client.go b/client.go index 9d32a22d..96a872dc 100644 --- a/client.go +++ b/client.go @@ -439,6 +439,7 @@ func (c *Client) PerformTransaction(msg *stun.Message, to net.Addr, ignoreResult } res := tr.WaitForResult() + fmt.Println("PerformTransaction", res) if res.Err != nil { return res, res.Err } diff --git a/internal/client/allocation.go b/internal/client/allocation.go index 49b09b63..540c7fd2 100644 --- a/internal/client/allocation.go +++ b/internal/client/allocation.go @@ -76,6 +76,7 @@ func (a *allocation) refreshAllocation(lifetime time.Duration, dontWait bool) er a.log.Debugf("Send refresh request (dontWait=%v)", dontWait) trRes, err := a.client.PerformTransaction(msg, a.serverAddr, dontWait) + fmt.Println("refreshAllocation", trRes, err, dontWait) if err != nil { return fmt.Errorf("%w: %s", errFailedToRefreshAllocation, err.Error()) }