From 5fe6684492a208cadb0b73c3461271e6891b38e4 Mon Sep 17 00:00:00 2001 From: Sean DuBois Date: Thu, 4 Apr 2024 10:30:19 -0400 Subject: [PATCH] Sean debugging TODO --- internal/client/allocation.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/client/allocation.go b/internal/client/allocation.go index 49b09b63..49445a84 100644 --- a/internal/client/allocation.go +++ b/internal/client/allocation.go @@ -88,6 +88,10 @@ func (a *allocation) refreshAllocation(lifetime time.Duration, dontWait bool) er a.log.Debug("Refresh request sent, and waiting response") res := trRes.Msg + + fmt.Println(res) + fmt.Println(res.Type) + fmt.Println(res.Type.Class) if res.Type.Class == stun.ClassErrorResponse { var code stun.ErrorCodeAttribute if err = code.GetFrom(res); err == nil {