From 03a987ca7475df51eb9164e807f9c1929017e08a Mon Sep 17 00:00:00 2001 From: Christopher Koch Date: Sat, 29 Dec 2018 12:21:34 -0800 Subject: dhcpv4: remove unused Option.Length function. --- dhcpv4/bsdp/bsdp_option_machine_name.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'dhcpv4/bsdp/bsdp_option_machine_name.go') diff --git a/dhcpv4/bsdp/bsdp_option_machine_name.go b/dhcpv4/bsdp/bsdp_option_machine_name.go index ef38921..ced88b0 100644 --- a/dhcpv4/bsdp/bsdp_option_machine_name.go +++ b/dhcpv4/bsdp/bsdp_option_machine_name.go @@ -32,8 +32,3 @@ func (o *OptMachineName) ToBytes() []byte { func (o *OptMachineName) String() string { return "BSDP Machine Name -> " + o.Name } - -// Length returns the length of the data portion of this option. -func (o *OptMachineName) Length() int { - return len(o.Name) -} -- cgit v1.2.3