diff options
author | Pablo Mazzini <pmazzini@gmail.com> | 2018-07-31 17:02:36 +0200 |
---|---|---|
committer | Pablo Mazzini <pmazzini@gmail.com> | 2018-07-31 17:02:36 +0200 |
commit | 727a17d07bc2c8042bd882dd6fcc3001a47933c9 (patch) | |
tree | 52aa782772e2fe25e9d225e847d5a320ee359427 /dhcpv4/options.go | |
parent | c6894ea160d82b4a326ebab94faaebd090192a7b (diff) |
add OptHostName
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 760bc98..4903ab3 100644 --- a/dhcpv4/options.go +++ b/dhcpv4/options.go @@ -44,6 +44,8 @@ func ParseOption(data []byte) (Option, error) { opt, err = ParseOptSubnetMask(data) case OptionRouter: opt, err = ParseOptRouter(data) + case OptionHostName: + opt, err = ParseOptDomainName(data) case OptionRequestedIPAddress: opt, err = ParseOptRequestedIPAddress(data) case OptionIPAddressLeaseTime: |