NAME
Net::DHCPv6::Option::StatusCode - Status Code option (code 13)
VERSION
version 0.001
SYNOPSIS
my $sc = Net::DHCPv6::Option::StatusCode->new(
status_code => 0,
message => 'Success',
);
DESCRIPTION
Implements the Status Code option (OPTION_STATUS_CODE, code 13) per RFC 8415 §21.13. Contains a 16-bit status code and an optional human-readable message string.
ALPHA STATUS
ALPHA SOFTWARE. This is an early release. The interface is experimental and subject to change without notice.
METHODS
- new(status_code => $num, message => $str)
-
Constructor.
status_codeis required;messagedefaults to empty. - status_code
-
Returns the numeric status code.
- message
-
Returns the status message string.
SEE ALSO
Net::DHCPv6::Constants for $STATUS_* 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