summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 36bfe40..66715bd 100644
--- a/dhcpv4/option_ip_address_lease_time_test.go
+++ b/dhcpv4/option_ip_address_lease_time_test.go
@@ -31,7 +31,7 @@ func TestParseOptIPAddressLeaseTime(t *testing.T) {
// Bad length
data = []byte{51, 5, 1, 1, 1, 1, 1}
- _, err = ParseOptMaximumDHCPMessageSize(data)
+ _, err = ParseOptIPAddressLeaseTime(data)
require.Error(t, err, "should get error from bad length")
}