summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_misc.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/option_misc.go')
-rw-r--r--dhcpv4/option_misc.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/dhcpv4/option_misc.go b/dhcpv4/option_misc.go
index 01de95f..e91b34d 100644
--- a/dhcpv4/option_misc.go
+++ b/dhcpv4/option_misc.go
@@ -16,3 +16,8 @@ func OptDomainSearch(labels *rfc1035label.Labels) Option {
func OptClientArch(archs ...iana.Arch) Option {
return Option{Code: OptionClientSystemArchitectureType, Value: iana.Archs(archs)}
}
+
+// OptClientIdentifier returns a new Client Identifier option.
+func OptClientIdentifier(ident []byte) Option {
+ return OptGeneric(OptionClientIdentifier, ident)
+}