pyrad icon indicating copy to clipboard operation
pyrad copied to clipboard

Why can't Pyrad support dictionary attribute IDs > 255

Open untiptun opened this issue 13 years ago • 2 comments
trafficstars

Hi,

I am using Pyrad 2.0. I have a dictionary with many attributes. Many of them have the ID > 255. like this :

ATTRIBUTE Digest-URI 1066 string

struct.pack seems to raise a DeprecationWarning and truncates the packet ID to a 0 - 255 interval.

What can I do ??

Thanks, Alex

untiptun avatar Feb 22 '12 22:02 untiptun

I made a fix for this. If you are interested let me know

untiptun avatar Feb 26 '12 23:02 untiptun

@untiptun can you please share the dict file?

GIC-de avatar Jan 31 '17 16:01 GIC-de