Net::DHCP::Packet::OrderOptions(3p)

NAME
Net::DHCP::Packet::OrderOptions - Option ordering quirks for Net::DHCP

VERSION
version 0.9

SYNOPSIS
    use Net::DHCP::Packet::OrderOptions qw( reorder_options );

DESCRIPTION
Applies known option-ordering quirks to a list of option codes. DHCP clients can be picky about option order; this module collects those work-arounds in one place.

QUIRK WORK-AROUNDS

Intel PXE
    Wants option 60 (Vendor class identifier) before option 43 (Vendor-specific options).

Cablelabs
    Wants option 82 (Relay agent information) to always be last.

METHODS

reorder_options( LIST )
    Accepts a list of option-code numbers, returns them reordered to satisfy known client quirks. Codes not mentioned in any quirk keep their relative order.

SEE ALSO
Net::DHCP, Net::DHCP::Packet, Net::DHCP::Constants.

AUTHOR
Dean Hamstead <dean@fragfest.com.au>

COPYRIGHT AND LICENSE
This software is Copyright (c) 2026 by Dean Hamstead.

This is free software, licensed under:

  The MIT (X11) License