Show quoted text> Yes, the module is still maintained. Unfortunately, I haven't had the
> time to put together a new release yet. I'm currently working on a new
> release of NetAddr::IP. Net::Radius will come next.
I produced a patch against 1.49 (even if both modules still have
$VERSION set to '1.45'), which does the following:
* [Dictionary.pm] accept a new keyword in dictionary file, namely
"PACKET", that allows to define packet types
* [Dictionary.pm] these packet types default to the current
state-of-the-art according to
http://www.iana.org/assignments/radius-types
* [Dictionary.pm] the packet types can be accessed via ad-hoc methods
* [Dictionary.pm] the constructor has been extended to accept a list of
dictionary files to load upon creation (instead of a single one)
* [Packet.pm] hardcoded mapping hashes in pack() and unpack() methods
are now loaded from the dictionary
This should have the benefit of an easy extendability in the future: one
can add a dictionary file intended specifically for packet types, in
case new RFCs add new packet types, without the need of a prompt patch
on your side.
In the package, you find:
* diff files for the two modified modules (for you to easily check)
* the patched modules
* a new test for the added features
Hope this helps,
Flavio.