summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_ip_address_lease_time_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/option_ip_address_lease_time_test.go')
-rw-r--r--dhcpv4/option_ip_address_lease_time_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/option_ip_address_lease_time_test.go b/dhcpv4/option_ip_address_lease_time_test.go
index dafa6e4..fb11cf6 100644
--- a/dhcpv4/option_ip_address_lease_time_test.go
+++ b/dhcpv4/option_ip_address_lease_time_test.go
@@ -10,7 +10,7 @@ func TestOptIPAddressLeaseTimeInterfaceMethods(t *testing.T) {
o := OptIPAddressLeaseTime{LeaseTime: 43200}
require.Equal(t, OptionIPAddressLeaseTime, o.Code(), "Code")
require.Equal(t, 4, o.Length(), "Length")
- require.Equal(t, []byte{51, 4, 0, 0, 168, 192}, o.ToBytes(), "ToBytes")
+ require.Equal(t, []byte{0, 0, 168, 192}, o.ToBytes(), "ToBytes")
}
func TestParseOptIPAddressLeaseTime(t *testing.T) {