summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_generic.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/option_generic.go')
-rw-r--r--dhcpv4/option_generic.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/dhcpv4/option_generic.go b/dhcpv4/option_generic.go
index 4afcfe1..264340c 100644
--- a/dhcpv4/option_generic.go
+++ b/dhcpv4/option_generic.go
@@ -36,8 +36,3 @@ func (o OptionGeneric) ToBytes() []byte {
func (o OptionGeneric) String() string {
return fmt.Sprintf("%v -> %v", o.OptionCode.String(), o.Data)
}
-
-// Length returns the number of bytes comprising the data section of the option.
-func (o OptionGeneric) Length() int {
- return len(o.Data)
-}