diff options
author | Pablo Mazzini <pmazzini@gmail.com> | 2018-07-31 11:36:51 +0200 |
---|---|---|
committer | Pablo Mazzini <pmazzini@gmail.com> | 2018-07-31 11:36:51 +0200 |
commit | 1f58265bc02e94b0c530719cda87da780a3813c1 (patch) | |
tree | abcab7fe53e8f1fb0df404449189ebc4f3089414 | |
parent | 6f8e78fd7f9fd9aa658246645d4f75fea43f344c (diff) |
OptDomainSearch: fix String()
-rw-r--r-- | dhcpv4/option_domain_search.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/option_domain_search.go b/dhcpv4/option_domain_search.go index 75626ed..b845b59 100644 --- a/dhcpv4/option_domain_search.go +++ b/dhcpv4/option_domain_search.go @@ -36,7 +36,7 @@ func (op *OptDomainSearch) Length() int { // String returns a human-readable string. func (op *OptDomainSearch) String() string { - return fmt.Sprintf("DNS Domain Search List ->", op.DomainSearch) + return fmt.Sprintf("DNS Domain Search List -> %v", op.DomainSearch) } // ParseOptDomainSearch returns a new OptDomainSearch from a byte stream, or |