diff options
Diffstat (limited to 'dhcpv6/option_vendorclass.go')
-rw-r--r-- | dhcpv6/option_vendorclass.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/dhcpv6/option_vendorclass.go b/dhcpv6/option_vendorclass.go index 67fa15a..ef85087 100644 --- a/dhcpv6/option_vendorclass.go +++ b/dhcpv6/option_vendorclass.go @@ -30,15 +30,6 @@ func (op *OptVendorClass) ToBytes() []byte { return buf.Data() } -// Length returns the option length -func (op *OptVendorClass) Length() int { - ret := 0 - for _, data := range op.Data { - ret += 2 + len(data) - } - return 4 + ret -} - // String returns a string representation of the VendorClass data func (op *OptVendorClass) String() string { vcStrings := make([]string, 0) |