From 64f29461718b0dac77d8156ceceacce086fe14b2 Mon Sep 17 00:00:00 2001 From: Christopher Koch Date: Sun, 20 Jan 2019 20:28:24 +0000 Subject: dhcpv6: remove unnecessary Length function --- dhcpv6/option_prefixdelegation_test.go | 1 - 1 file changed, 1 deletion(-) (limited to 'dhcpv6/option_prefixdelegation_test.go') diff --git a/dhcpv6/option_prefixdelegation_test.go b/dhcpv6/option_prefixdelegation_test.go index 377ca3d..802a3a6 100644 --- a/dhcpv6/option_prefixdelegation_test.go +++ b/dhcpv6/option_prefixdelegation_test.go @@ -20,7 +20,6 @@ func TestOptIAForPrefixDelegationParseOptIAForPrefixDelegation(t *testing.T) { } opt, err := ParseOptIAForPrefixDelegation(data) require.NoError(t, err) - require.Equal(t, len(data), opt.Length()) require.Equal(t, OptionIAPD, opt.Code()) require.Equal(t, [4]byte{1, 0, 0, 0}, opt.IaId) require.Equal(t, uint32(1), opt.T1) -- cgit v1.2.3