summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_tftp_server_name.go
diff options
context:
space:
mode:
authorPablo Mazzini <pmazzini@gmail.com>2018-08-03 11:09:40 +0200
committerPablo Mazzini <pmazzini@gmail.com>2018-08-10 14:43:25 +0200
commit6539e106ea55e534d7afcc04df6828c7de9d4e8f (patch)
tree8e862e3d0ca72678acc10cb0c1bfb0948871323e /dhcpv4/option_tftp_server_name.go
parent45d999fb7b4230c0fa99b94136dfe13a06d924c8 (diff)
OptTFTPServerName: fix String()
Diffstat (limited to 'dhcpv4/option_tftp_server_name.go')
-rw-r--r--dhcpv4/option_tftp_server_name.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/option_tftp_server_name.go b/dhcpv4/option_tftp_server_name.go
index b4029e1..886208d 100644
--- a/dhcpv4/option_tftp_server_name.go
+++ b/dhcpv4/option_tftp_server_name.go
@@ -28,7 +28,7 @@ func (op *OptTFTPServerName) Length() int {
}
func (op *OptTFTPServerName) String() string {
- return fmt.Sprintf("OptTFTPServerName{TFTPServerName=%s}", op.TFTPServerName)
+ return fmt.Sprintf("TFTP Server Name -> %v", op.TFTPServerName)
}
// ParseOptTFTPServerName returns a new OptTFTPServerName fomr a byte stream or error if any