NAME

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

VERSION

version 0.7

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@fragfest.com.au>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2022 by Dean Hamstead.

This is free software, licensed under:

The MIT (X11) License