summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/modifiers.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6/modifiers.go')
-rw-r--r--dhcpv6/modifiers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv6/modifiers.go b/dhcpv6/modifiers.go
index 16c71a3..a3d7986 100644
--- a/dhcpv6/modifiers.go
+++ b/dhcpv6/modifiers.go
@@ -57,9 +57,9 @@ func WithUserClass(uc []byte) Modifier {
}
// WithArchType adds an arch type option to the packet
-func WithArchType(at iana.ArchType) Modifier {
+func WithArchType(at iana.Arch) Modifier {
return func(d DHCPv6) DHCPv6 {
- ao := OptClientArchType{ArchTypes: []iana.ArchType{at}}
+ ao := OptClientArchType{ArchTypes: []iana.Arch{at}}
d.AddOption(&ao)
return d
}