summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/option_temporaryaddress.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6/option_temporaryaddress.go')
-rw-r--r--dhcpv6/option_temporaryaddress.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/dhcpv6/option_temporaryaddress.go b/dhcpv6/option_temporaryaddress.go
index f9dd3ca..624b4f9 100644
--- a/dhcpv6/option_temporaryaddress.go
+++ b/dhcpv6/option_temporaryaddress.go
@@ -30,8 +30,7 @@ func (op *OptIATA) ToBytes() []byte {
}
func (op *OptIATA) String() string {
- return fmt.Sprintf("IATA: {IAID=%v, options=%v}",
- op.IaId, op.Options)
+ return fmt.Sprintf("%s: {IAID=%#x, Options=%v}", op.Code(), op.IaId, op.Options)
}
// ParseOptIATA builds an OptIATA structure from a sequence of bytes. The