summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_parameter_request_list.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/option_parameter_request_list.go')
-rw-r--r--dhcpv4/option_parameter_request_list.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/dhcpv4/option_parameter_request_list.go b/dhcpv4/option_parameter_request_list.go
index 81d5efb..99f2445 100644
--- a/dhcpv4/option_parameter_request_list.go
+++ b/dhcpv4/option_parameter_request_list.go
@@ -64,21 +64,6 @@ func (ol *OptionCodeList) FromBytes(data []byte) error {
return buf.FinError()
}
-// GetParameterRequestList returns the DHCPv4 Parameter Request List in o.
-//
-// The parameter request list option is described by RFC 2132, Section 9.8.
-func GetParameterRequestList(o Options) OptionCodeList {
- v := o.Get(OptionParameterRequestList)
- if v == nil {
- return nil
- }
- var codes OptionCodeList
- if err := codes.FromBytes(v); err != nil {
- return nil
- }
- return codes
-}
-
// OptParameterRequestList returns a new DHCPv4 Parameter Request List.
//
// The parameter request list option is described by RFC 2132, Section 9.8.