diff options
Diffstat (limited to 'dhcpv4/option_requested_ip_address.go')
-rw-r--r-- | dhcpv4/option_requested_ip_address.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dhcpv4/option_requested_ip_address.go b/dhcpv4/option_requested_ip_address.go index 403f262..d3e565d 100644 --- a/dhcpv4/option_requested_ip_address.go +++ b/dhcpv4/option_requested_ip_address.go @@ -37,9 +37,3 @@ func (o *OptRequestedIPAddress) ToBytes() []byte { func (o *OptRequestedIPAddress) String() string { return fmt.Sprintf("Requested IP Address -> %v", o.RequestedAddr.String()) } - -// Length returns the length of the data portion (excluding option code an byte -// length). -func (o *OptRequestedIPAddress) Length() int { - return len(o.RequestedAddr.To4()) -} |