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 2ad027b..75ebfb0 100644
--- a/dhcpv6/modifiers.go
+++ b/dhcpv6/modifiers.go
@@ -25,9 +25,9 @@ func WithNetboot(d DHCPv6) DHCPv6 {
}
// WithUserClass adds a user class option to the packet
-func WithUserClass(uc string) Modifier {
+func WithUserClass(uc []byte) Modifier {
return func(d DHCPv6) DHCPv6 {
- ouc := OptUserClass{UserClass: []byte("FbLoL")}
+ ouc := OptUserClass{UserClass: uc}
d.AddOption(&ouc)
return d
}