summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/bsdp/bsdp_option_generic.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/bsdp/bsdp_option_generic.go')
-rw-r--r--dhcpv4/bsdp/bsdp_option_generic.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/dhcpv4/bsdp/bsdp_option_generic.go b/dhcpv4/bsdp/bsdp_option_generic.go
index cfcffb8..3859d8b 100644
--- a/dhcpv4/bsdp/bsdp_option_generic.go
+++ b/dhcpv4/bsdp/bsdp_option_generic.go
@@ -38,8 +38,3 @@ func (o OptGeneric) String() string {
}
return fmt.Sprintf("%v -> %v", code, o.Data)
}
-
-// Length returns the number of bytes comprising the data section of the option.
-func (o OptGeneric) Length() int {
- return len(o.Data)
-}