diff options
author | Pablo Mazzini <pmazzini@gmail.com> | 2018-07-30 10:45:53 +0200 |
---|---|---|
committer | Pablo Mazzini <pmazzini@gmail.com> | 2018-07-30 10:45:53 +0200 |
commit | b64f581df56ab8050636c58d5096b6b499725807 (patch) | |
tree | c81a97c8b540ea830615e39eaae1fde420eb9e46 | |
parent | 74f2ee0b2fc6af0602360c563490c0b140f98b9e (diff) |
OptIPAddressLeaseTime: fix test
-rw-r--r-- | dhcpv4/option_ip_address_lease_time_test.go | 2 |
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") } |