summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/option_vendorclass_test.go
diff options
context:
space:
mode:
authorChristopher Koch <c@chrisko.ch>2019-01-20 20:13:51 +0000
committerinsomniac <insomniacslk@users.noreply.github.com>2019-01-26 23:34:26 +0000
commitda69dad309583925ff4f8d0454bd0fb5bb6a1402 (patch)
tree59ab134698084993a6254afe70ff8035b7b4f655 /dhcpv6/option_vendorclass_test.go
parent3478513076477d0f19eaeaf441f29949a9f6bc92 (diff)
dhcpv6: move option code and length marshaling to Options.ToBytes.
Diffstat (limited to 'dhcpv6/option_vendorclass_test.go')
-rw-r--r--dhcpv6/option_vendorclass_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/dhcpv6/option_vendorclass_test.go b/dhcpv6/option_vendorclass_test.go
index 7774b25..685b8b0 100644
--- a/dhcpv6/option_vendorclass_test.go
+++ b/dhcpv6/option_vendorclass_test.go
@@ -31,8 +31,6 @@ func TestOptVendorClassToBytes(t *testing.T) {
}
data := opt.ToBytes()
expected := []byte{
- 0, 16, // OptionVendorClass
- 0, 22, // length
0xaa, 0xbb, 0xcc, 0xdd, // EnterpriseNumber
0, 10, 'H', 'T', 'T', 'P', 'C', 'l', 'i', 'e', 'n', 't',
0, 4, 't', 'e', 's', 't',