diff options
Diffstat (limited to 'dhcpv6/option_relaymsg.go')
-rw-r--r-- | dhcpv6/option_relaymsg.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6/option_relaymsg.go b/dhcpv6/option_relaymsg.go index b0a69a5..3b5f865 100644 --- a/dhcpv6/option_relaymsg.go +++ b/dhcpv6/option_relaymsg.go @@ -28,7 +28,7 @@ func (op *OptRelayMsg) SetRelayMessage(relayMessage DHCPv6) { } func (op *OptRelayMsg) Length() int { - return len(op.relayMessage.ToBytes()) + return op.relayMessage.Length() } func (op *OptRelayMsg) String() string { |