summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/option_dhcpv4_o_dhcpv6_server.go
diff options
context:
space:
mode:
authorChris Koch <chrisko@google.com>2023-02-18 13:59:40 -0800
committerChris K <c@chrisko.ch>2023-02-18 23:57:24 -0800
commit10146be7d8494d72e98d40df63cc0d65501e169f (patch)
treeb6e43a11ae6ae60149af06af11d615c4ad7c2055 /dhcpv6/option_dhcpv4_o_dhcpv6_server.go
parenta5c8a4bf9480a9c8cd16ab84914f7d646f3c0130 (diff)
Normalize String functions
Signed-off-by: Chris Koch <chrisko@google.com>
Diffstat (limited to 'dhcpv6/option_dhcpv4_o_dhcpv6_server.go')
-rw-r--r--dhcpv6/option_dhcpv4_o_dhcpv6_server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6/option_dhcpv4_o_dhcpv6_server.go b/dhcpv6/option_dhcpv4_o_dhcpv6_server.go
index 27a0079..f1f2d27 100644
--- a/dhcpv6/option_dhcpv4_o_dhcpv6_server.go
+++ b/dhcpv6/option_dhcpv4_o_dhcpv6_server.go
@@ -30,7 +30,7 @@ func (op *OptDHCP4oDHCP6Server) ToBytes() []byte {
}
func (op *OptDHCP4oDHCP6Server) String() string {
- return fmt.Sprintf("OptDHCP4oDHCP6Server{4o6-servers=%v}", op.DHCP4oDHCP6Servers)
+ return fmt.Sprintf("%s: %v", op.Code(), op.DHCP4oDHCP6Servers)
}
// ParseOptDHCP4oDHCP6Server builds an OptDHCP4oDHCP6Server structure