diff options
Diffstat (limited to 'dhcpv4/option_misc.go')
-rw-r--r-- | dhcpv4/option_misc.go | 5 |
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) +} |