From 9634ef9c03ab8ba69016bfe5848237951524afc7 Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Tue, 25 Aug 2020 17:44:30 +0300 Subject: [PATCH] - fix linter --- dhcpd/v4.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhcpd/v4.go b/dhcpd/v4.go index d3e4839e..e820b0da 100644 --- a/dhcpd/v4.go +++ b/dhcpd/v4.go @@ -458,7 +458,7 @@ func (s *v4Server) processRequest(req *dhcpv4.DHCPv4, resp *dhcpv4.DHCPv4) (*Lea s.commitLease(lease) } else if len(lease.Hostname) != 0 { o := &optFQDN{ - name: string(lease.Hostname), + name: lease.Hostname, } fqdn := dhcpv4.Option{ Code: dhcpv4.OptionFQDN,