summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_domain_name_server_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/option_domain_name_server_test.go')
-rw-r--r--dhcpv4/option_domain_name_server_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/dhcpv4/option_domain_name_server_test.go b/dhcpv4/option_domain_name_server_test.go
index 546d399..407e0d6 100644
--- a/dhcpv4/option_domain_name_server_test.go
+++ b/dhcpv4/option_domain_name_server_test.go
@@ -14,7 +14,6 @@ func TestOptDomainNameServerInterfaceMethods(t *testing.T) {
}
o := OptDomainNameServer{NameServers: servers}
require.Equal(t, OptionDomainNameServer, o.Code(), "Code")
- require.Equal(t, net.IPv4len*len(servers), o.Length(), "Length")
require.Equal(t, servers, o.NameServers, "NameServers")
}