diff options
author | Pablo Mazzini <pmazzini@gmail.com> | 2018-08-03 11:09:40 +0200 |
---|---|---|
committer | Pablo Mazzini <pmazzini@gmail.com> | 2018-08-10 14:43:25 +0200 |
commit | 6539e106ea55e534d7afcc04df6828c7de9d4e8f (patch) | |
tree | 8e862e3d0ca72678acc10cb0c1bfb0948871323e /dhcpv4/option_tftp_server_name.go | |
parent | 45d999fb7b4230c0fa99b94136dfe13a06d924c8 (diff) |
OptTFTPServerName: fix String()
Diffstat (limited to 'dhcpv4/option_tftp_server_name.go')
-rw-r--r-- | dhcpv4/option_tftp_server_name.go | 2 |
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 |