summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/bsdp/bsdp_option_default_boot_image_id.go
diff options
context:
space:
mode:
authorChristopher Koch <chrisko@google.com>2018-12-29 12:21:34 -0800
committerinsomniac <insomniacslk@users.noreply.github.com>2019-01-11 19:38:21 +0000
commit03a987ca7475df51eb9164e807f9c1929017e08a (patch)
treeec594d8874670e314f9f355e030f8e633849e9d9 /dhcpv4/bsdp/bsdp_option_default_boot_image_id.go
parent9492662dae0651fd4d6698d35b58ade7300e149e (diff)
dhcpv4: remove unused Option.Length function.
Diffstat (limited to 'dhcpv4/bsdp/bsdp_option_default_boot_image_id.go')
-rw-r--r--dhcpv4/bsdp/bsdp_option_default_boot_image_id.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/dhcpv4/bsdp/bsdp_option_default_boot_image_id.go b/dhcpv4/bsdp/bsdp_option_default_boot_image_id.go
index d75c883..40ab0be 100644
--- a/dhcpv4/bsdp/bsdp_option_default_boot_image_id.go
+++ b/dhcpv4/bsdp/bsdp_option_default_boot_image_id.go
@@ -40,8 +40,3 @@ func (o *OptDefaultBootImageID) ToBytes() []byte {
func (o *OptDefaultBootImageID) String() string {
return fmt.Sprintf("BSDP Default Boot Image ID -> %s", o.ID.String())
}
-
-// Length returns the length of the data portion of this option.
-func (o *OptDefaultBootImageID) Length() int {
- return 4
-}