From 14c1500b5f51c0e3d1129af9b77aaece81bb5dac Mon Sep 17 00:00:00 2001 From: Durand Fabrice Date: Tue, 14 Jan 2025 14:21:49 -0500 Subject: [PATCH] If rate limit is disabled send all the api call --- go/cmd/pfacct/radius.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/go/cmd/pfacct/radius.go b/go/cmd/pfacct/radius.go index c2df8039fed..347a6e40845 100644 --- a/go/cmd/pfacct/radius.go +++ b/go/cmd/pfacct/radius.go @@ -339,6 +339,10 @@ func (h *PfAcct) sendRadiusAccountingCall(r *radius.Request) { if err := h.AAAClient.Notify(ctx, "radius_accounting", attr); err != nil { logError(ctx, err.Error()) } + } else if !h.RateLimit { + if err := h.AAAClient.Notify(ctx, "radius_accounting", attr); err != nil { + logError(ctx, err.Error()) + } } }