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 48d9716..5e1d902 100644 --- a/dhcpv6/option_relaymsg.go +++ b/dhcpv6/option_relaymsg.go @@ -25,7 +25,7 @@ func (op *optRelayMsg) ToBytes() []byte { } func (op *optRelayMsg) String() string { - return fmt.Sprintf("RelayMsg: %v", op.Msg) + return fmt.Sprintf("%s: %v", op.Code(), op.Msg) } // build an optRelayMsg structure from a sequence of bytes. |