summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/bsdp/bsdp_option_boot_image_list.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/bsdp/bsdp_option_boot_image_list.go')
-rw-r--r--dhcpv4/bsdp/bsdp_option_boot_image_list.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/dhcpv4/bsdp/bsdp_option_boot_image_list.go b/dhcpv4/bsdp/bsdp_option_boot_image_list.go
index ae2e59e..e67cb46 100644
--- a/dhcpv4/bsdp/bsdp_option_boot_image_list.go
+++ b/dhcpv4/bsdp/bsdp_option_boot_image_list.go
@@ -52,12 +52,3 @@ func (o *OptBootImageList) String() string {
}
return s
}
-
-// Length returns the length of the data portion of this option.
-func (o *OptBootImageList) Length() int {
- length := 0
- for _, image := range o.Images {
- length += 4 + 1 + len(image.Name)
- }
- return length
-}