logo       

Re: Vendor ID Field is Sign Extended: msg#00905

freeradius.user

Subject: Re: Vendor ID Field is Sign Extended

Alan DeKok wrote:
The 'attribute' entry in the VALUE_PAIR structure should really be
'unsigned int', rather than 'int'. A simpler short-term solution is
to fix the VENDOR macro in src/include/libradius.h, so that the number
it returns is only 16 bits long.

I changed that structure and all seems to work. Can you forsee anything that might fail now that it is unsigned?

This really isn't a big deal to me since I can just pick a lower vendor number. I was just pulling one out of the air and thought I would do 65k and BOOM. They are only registered up to 17425 right now so you have some time to fix it... :)

Thanks,
Jake

--
Jacob S. Barrett
jbarrett@xxxxxxxxxx
www.amduat.net

"I don't suffer from insanity, I enjoy every minute of it."


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



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise