summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/options.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/options.go')
-rw-r--r--dhcpv4/options.go2
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: