diff options
author | Pablo Mazzini <pmazzini@gmail.com> | 2018-07-31 17:04:30 +0200 |
---|---|---|
committer | Pablo Mazzini <pmazzini@gmail.com> | 2018-07-31 17:04:30 +0200 |
commit | 857a1500e791f8d1b71e74f2e14e62b026cdb11d (patch) | |
tree | f61ba2331fbee2d4cc01eb7f4545c7e0922127a4 /dhcpv4 | |
parent | 727a17d07bc2c8042bd882dd6fcc3001a47933c9 (diff) |
fix OptHostName
Diffstat (limited to 'dhcpv4')
-rw-r--r-- | dhcpv4/options.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/options.go b/dhcpv4/options.go index 4903ab3..53b2ecf 100644 --- a/dhcpv4/options.go +++ b/dhcpv4/options.go @@ -45,7 +45,7 @@ func ParseOption(data []byte) (Option, error) { case OptionRouter: opt, err = ParseOptRouter(data) case OptionHostName: - opt, err = ParseOptDomainName(data) + opt, err = ParseOptHostName(data) case OptionRequestedIPAddress: opt, err = ParseOptRequestedIPAddress(data) case OptionIPAddressLeaseTime: |