btimby / py-radius

RADIUS authentication module
Other
62 stars 38 forks source link

Warning logs show 0 indexed count of tries #24

Open KevP opened 5 years ago

KevP commented 5 years ago

When you pass retries=3 and you have a RADIUS server down, you get logs that say: WARNING:radius:Timeout expired on try 0 WARNING:radius:Timeout expired on try 1 WARNING:radius:Timeout expired on try 2 ERROR:radius:Request timed out after 2 tries This should really say try 1, try 2, try 3 and then timed out after 3 tries...