The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::DHCP::Packet::OrderOptions - Option ordering logic for Net::DHCP

VERSION

version 0.7_007

SYNOPSIS

   use Net::DHCP::Packet::OrderOptions qw( :all );

DESCRIPTION

Provides sorting for optons in Net::DHCP::Packet.

This module is not particularly useful on its own.

Because DHCP clients generally suck, the order of options in the dhcp packet actually matter. This module keeps the handling of all that quirky madness in one place

QUIRK WORK-AROUNDS

Cable vendors really want option 82 to always be last.

Intel PXE really wants option 60 before option 43.

Minimum frame size is 300, but we only warn (carp) if its not.

METHODS

optionsorder ( )

TODO This will rearrange the order of options to accomidate as many quirky cliens as possible.

SEE ALSO

Net::DHCP, Net::DHCP::Packet, Net::DHCP::Constants, dhcp-options.

AUTHOR

Dean Hamstead <dean@bytefoundry.com.au>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Dean Hamstad.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.