diff options
Diffstat (limited to 'dhcpv4/option_broadcast_address_test.go')
-rw-r--r-- | dhcpv4/option_broadcast_address_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/option_broadcast_address_test.go b/dhcpv4/option_broadcast_address_test.go index 1feb6cc..7980429 100644 --- a/dhcpv4/option_broadcast_address_test.go +++ b/dhcpv4/option_broadcast_address_test.go @@ -13,7 +13,7 @@ func TestOptBroadcastAddressInterfaceMethods(t *testing.T) { require.Equal(t, OptionBroadcastAddress, o.Code(), "Code") - expectedBytes := []byte{byte(OptionBroadcastAddress), 4, 192, 168, 0, 1} + expectedBytes := []byte{192, 168, 0, 1} require.Equal(t, expectedBytes, o.ToBytes(), "ToBytes") require.Equal(t, 4, o.Length(), "Length") |