diff options
author | Andrea Barberio <insomniac@slackware.it> | 2018-03-16 16:16:16 +0000 |
---|---|---|
committer | Andrea Barberio <insomniac@slackware.it> | 2018-03-16 16:16:16 +0000 |
commit | 68b69b60f15316ba804ea083129ef5636a2803a5 (patch) | |
tree | c75c8313ebcc7cbaaa6b00e3e618b204b18c6262 /dhcpv4/options.go | |
parent | 79b8450e99efee338596f15fc1f8f88c3e42edc0 (diff) |
dhcpv4: Added OptionDomainName
Diffstat (limited to 'dhcpv4/options.go')
-rw-r--r-- | dhcpv4/options.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dhcpv4/options.go b/dhcpv4/options.go index a1b5c93..acc2bf5 100644 --- a/dhcpv4/options.go +++ b/dhcpv4/options.go @@ -52,6 +52,8 @@ func ParseOption(data []byte) (Option, error) { opt, err = ParseOptMaximumDHCPMessageSize(data) case OptionClassIdentifier: opt, err = ParseOptClassIdentifier(data) + case OptionDomainName: + opt, err = ParseOptDomainName(data) default: opt, err = ParseOptionGeneric(data) } |