From 5e00177fe0c35379c9e83da496d6527d932854ae Mon Sep 17 00:00:00 2001 From: Pablo Mazzini Date: Thu, 2 Aug 2018 18:24:24 +0200 Subject: OptUserClass: use only the flag as authoritative --- dhcpv4/option_userclass_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'dhcpv4/option_userclass_test.go') diff --git a/dhcpv4/option_userclass_test.go b/dhcpv4/option_userclass_test.go index 72cf131..f6039df 100644 --- a/dhcpv4/option_userclass_test.go +++ b/dhcpv4/option_userclass_test.go @@ -98,6 +98,7 @@ func TestOptUserClassToBytesMultiple(t *testing.T) { []byte("linuxboot"), []byte("test"), }, + Rfc3004: true, } data := opt.ToBytes() expected := []byte{ -- cgit v1.2.3