summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/dhcpv6_test.go
diff options
context:
space:
mode:
authorPablo Mazzini <pmazzini@gmail.com>2018-08-13 11:57:15 +0200
committerPablo Mazzini <pmazzini@gmail.com>2018-08-13 11:57:15 +0200
commit5016b923e14e31dc332f329d36398718f7d7a3d5 (patch)
tree05a3e50dd9b7a658456c6e6bce3534ed1994f3d5 /dhcpv6/dhcpv6_test.go
parent72d70d68dfcbdbe112d9f82ead6d987898417f95 (diff)
rebase
Diffstat (limited to 'dhcpv6/dhcpv6_test.go')
-rw-r--r--dhcpv6/dhcpv6_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv6/dhcpv6_test.go b/dhcpv6/dhcpv6_test.go
index 812d284..6840252 100644
--- a/dhcpv6/dhcpv6_test.go
+++ b/dhcpv6/dhcpv6_test.go
@@ -218,14 +218,14 @@ func TestNewMessageTypeSolicitWithCID(t *testing.T) {
func TestIsUsingUEFIArchTypeTrue(t *testing.T) {
msg := DHCPv6Message{}
- opt := OptClientArchType{ArchType: EFI_BC}
+ opt := OptClientArchType{ArchTypes: []iana.ArchType{iana.EFI_BC}}
msg.AddOption(&opt)
require.True(t, IsUsingUEFI(&msg))
}
func TestIsUsingUEFIArchTypeFalse(t *testing.T) {
msg := DHCPv6Message{}
- opt := OptClientArchType{ArchType: INTEL_X86PC}
+ opt := OptClientArchType{ArchTypes: []iana.ArchType{iana.INTEL_X86PC}}
msg.AddOption(&opt)
require.False(t, IsUsingUEFI(&msg))
}