diff options
-rw-r--r-- | dhcpv6/option_userclass.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6/option_userclass.go b/dhcpv6/option_userclass.go index a9fde46..6f62b23 100644 --- a/dhcpv6/option_userclass.go +++ b/dhcpv6/option_userclass.go @@ -39,7 +39,7 @@ func (op *OptUserClass) SetUserClass(userClass []byte) { // Length returns the option length func (op *OptUserClass) Length() int { - return len(op.userClass) + return 2 + len(op.userClass) } func (op *OptUserClass) String() string { |