diff options
Diffstat (limited to 'dhcpv4/option_host_name.go')
-rw-r--r-- | dhcpv4/option_host_name.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dhcpv4/option_host_name.go b/dhcpv4/option_host_name.go index 77ed17c..417fa6d 100644 --- a/dhcpv4/option_host_name.go +++ b/dhcpv4/option_host_name.go @@ -30,9 +30,3 @@ func (o *OptHostName) ToBytes() []byte { func (o *OptHostName) String() string { return fmt.Sprintf("Host Name -> %v", o.HostName) } - -// Length returns the length of the data portion (excluding option code an byte -// length). -func (o *OptHostName) Length() int { - return len(o.HostName) -} |