summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/option_dhcpv4_msg.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6/option_dhcpv4_msg.go')
-rw-r--r--dhcpv6/option_dhcpv4_msg.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6/option_dhcpv4_msg.go b/dhcpv6/option_dhcpv4_msg.go
index 0a1a2b3..2cf988a 100644
--- a/dhcpv6/option_dhcpv4_msg.go
+++ b/dhcpv6/option_dhcpv4_msg.go
@@ -25,7 +25,7 @@ func (op *OptDHCPv4Msg) ToBytes() []byte {
}
func (op *OptDHCPv4Msg) String() string {
- return fmt.Sprintf("OptDHCPv4Msg{%v}", op.Msg)
+ return fmt.Sprintf("%s: %v", op.Code(), op.Msg)
}
// ParseOptDHCPv4Msg builds an OptDHCPv4Msg structure