diff options
author | Christopher Koch <chrisko@google.com> | 2018-12-29 11:26:27 -0800 |
---|---|---|
committer | insomniac <insomniacslk@users.noreply.github.com> | 2019-01-14 23:19:04 +0000 |
commit | 75d26a6410980df90d3a9d224956cfe5ed35a07f (patch) | |
tree | a98dbe3358f013b3146b26ffca3225b70cc194fd /dhcpv6/modifiers.go | |
parent | 158ad8e79b2e644da7dfbfceb9191e6587ede81e (diff) |
Rename iana.ArchType to iana.Arch.
Diffstat (limited to 'dhcpv6/modifiers.go')
-rw-r--r-- | dhcpv6/modifiers.go | 4 |
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 } |