summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/option_requestedoption.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6/option_requestedoption.go')
-rw-r--r--dhcpv6/option_requestedoption.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/dhcpv6/option_requestedoption.go b/dhcpv6/option_requestedoption.go
index 7f345f4..d72e2ed 100644
--- a/dhcpv6/option_requestedoption.go
+++ b/dhcpv6/option_requestedoption.go
@@ -21,8 +21,6 @@ func (op *OptRequestedOption) Code() OptionCode {
func (op *OptRequestedOption) ToBytes() []byte {
buf := uio.NewBigEndianBuffer(nil)
- buf.Write16(uint16(OptionORO))
- buf.Write16(uint16(op.Length()))
for _, ro := range op.requestedOptions {
buf.Write16(uint16(ro))
}