diff options
Diffstat (limited to 'dhcpv4/bsdp/bsdp_option_machine_name.go')
-rw-r--r-- | dhcpv4/bsdp/bsdp_option_machine_name.go | 5 |
1 files changed, 0 insertions, 5 deletions
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) -} |