diff options
Diffstat (limited to 'dhcpv4/bsdp/bsdp_option_version.go')
-rw-r--r-- | dhcpv4/bsdp/bsdp_option_version.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/dhcpv4/bsdp/bsdp_option_version.go b/dhcpv4/bsdp/bsdp_option_version.go index 9314cbe..041f3d1 100644 --- a/dhcpv4/bsdp/bsdp_option_version.go +++ b/dhcpv4/bsdp/bsdp_option_version.go @@ -41,8 +41,3 @@ func (o *OptVersion) ToBytes() []byte { func (o *OptVersion) String() string { return fmt.Sprintf("BSDP Version -> %v.%v", o.Version[0], o.Version[1]) } - -// Length returns the length of the data portion of this option. -func (o *OptVersion) Length() int { - return 2 -} |