diff options
Diffstat (limited to 'dhcpv4/option_ip_address_lease_time.go')
-rw-r--r-- | dhcpv4/option_ip_address_lease_time.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dhcpv4/option_ip_address_lease_time.go b/dhcpv4/option_ip_address_lease_time.go index c020e6e..f6a85c7 100644 --- a/dhcpv4/option_ip_address_lease_time.go +++ b/dhcpv4/option_ip_address_lease_time.go @@ -38,9 +38,3 @@ func (o *OptIPAddressLeaseTime) ToBytes() []byte { func (o *OptIPAddressLeaseTime) String() string { return fmt.Sprintf("IP Addresses Lease Time -> %v", o.LeaseTime) } - -// Length returns the length of the data portion (excluding option code and byte -// for length, if any). -func (o *OptIPAddressLeaseTime) Length() int { - return 4 -} |