summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/option_dnsrecursivenameserver_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6/option_dnsrecursivenameserver_test.go')
-rw-r--r--dhcpv6/option_dnsrecursivenameserver_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6/option_dnsrecursivenameserver_test.go b/dhcpv6/option_dnsrecursivenameserver_test.go
index 85bb982..71fe6d3 100644
--- a/dhcpv6/option_dnsrecursivenameserver_test.go
+++ b/dhcpv6/option_dnsrecursivenameserver_test.go
@@ -25,7 +25,7 @@ func TestOptDNSRecursiveNameServerToBytes(t *testing.T) {
ns2 := net.ParseIP("2001:4860:4860::8888")
nameservers := []net.IP{ns1, ns2}
expected := []byte{
- 0, 23, // DNS_RECURSIVE_NAME_SERVER
+ 0, 23, // OptionDNSRecursiveNameServer
0, 32, // length
}
expected = append(expected, []byte(ns1)...)