diff options
Diffstat (limited to 'dhcpv4/bsdp/bsdp_option_machine_name_test.go')
-rw-r--r-- | dhcpv4/bsdp/bsdp_option_machine_name_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/bsdp/bsdp_option_machine_name_test.go b/dhcpv4/bsdp/bsdp_option_machine_name_test.go index 712bc49..c06ae7b 100644 --- a/dhcpv4/bsdp/bsdp_option_machine_name_test.go +++ b/dhcpv4/bsdp/bsdp_option_machine_name_test.go @@ -10,7 +10,7 @@ func TestOptMachineNameInterfaceMethods(t *testing.T) { o := OptMachineName{"somebox"} require.Equal(t, OptionMachineName, o.Code(), "Code") require.Equal(t, 7, o.Length(), "Length") - expectedBytes := []byte{130, 7, 's', 'o', 'm', 'e', 'b', 'o', 'x'} + expectedBytes := []byte{'s', 'o', 'm', 'e', 'b', 'o', 'x'} require.Equal(t, expectedBytes, o.ToBytes(), "ToBytes") } |