Hello,

I think there is a bug in radclient (since v1.63?).

I currently use radclient v1.60, and it works fine.

I saw that new functionalities appeared, and I
downloaded V1.72. Reading the radclient.c source file,
I became a little plerplex about the '-i' feature,
which allows to set the ID of the requests to send.

I mean, that:

In main(), line 687, an int var named 'id' is
declared.
Line 732, it is assigned a value, regarding command
line arguments.
But it is used nowhere else. Instead, a global
variable, named 'last_used_id', declared on line 75,
is  assigned the value 'getpid() & 0xFF', in main(),
line 892.

I don't see the var 'id' used anywhere. But I can see
'last_used_id' is used in function 'send_one_packet',
to set the request id.

I didn't compile nor test this new radclient. Maybe I
read the code the wrong way. Tell me if it is not a
bug, where and how the 'id' var is used. Else maybe
this issue will need a correction.

Regards,

Geoffroy


        

        
                
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
Cr�ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis gr�ce � Yahoo! Messenger !T�l�chargez Yahoo! 
Messenger sur http://fr.messenger.yahoo.com

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to