From 1f58265bc02e94b0c530719cda87da780a3813c1 Mon Sep 17 00:00:00 2001 From: Pablo Mazzini Date: Tue, 31 Jul 2018 11:36:51 +0200 Subject: OptDomainSearch: fix String() --- dhcpv4/option_domain_search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dhcpv4') 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 -- cgit v1.2.3