Skip to content

Commit

Permalink
If rate limit is disabled send all the api call
Browse files Browse the repository at this point in the history
  • Loading branch information
fdurand committed Jan 14, 2025
1 parent 86b00d6 commit 14c1500
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions go/cmd/pfacct/radius.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
}
}

Expand Down

0 comments on commit 14c1500

Please sign in to comment.