summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_domain_search.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/option_domain_search.go')
-rw-r--r--dhcpv4/option_domain_search.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/dhcpv4/option_domain_search.go b/dhcpv4/option_domain_search.go
index 55b8bf5..d4d1383 100644
--- a/dhcpv4/option_domain_search.go
+++ b/dhcpv4/option_domain_search.go
@@ -27,12 +27,6 @@ func (op *OptDomainSearch) ToBytes() []byte {
return op.DomainSearch.ToBytes()
}
-// Length returns the length of the data portion (excluding option code an byte
-// length).
-func (op *OptDomainSearch) Length() int {
- return op.DomainSearch.Length()
-}
-
// String returns a human-readable string.
func (op *OptDomainSearch) String() string {
return fmt.Sprintf("DNS Domain Search List -> %v", op.DomainSearch.Labels)