summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_tftp_server_name.go
diff options
context:
space:
mode:
authorPablo Mazzini <pmazzini@gmail.com>2018-08-03 11:44:57 +0200
committerPablo Mazzini <pmazzini@gmail.com>2018-08-10 14:43:25 +0200
commit0edcc4a6721ffa792bbdc095134ac77e473510ee (patch)
treea816ff9e8821b773486fabfb0e41fd0414d730b6 /dhcpv4/option_tftp_server_name.go
parentba823f457ef09139f01168013de529ede7caf76b (diff)
OptTFTPServerName and OptBootfileName test 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 886208d..19dde21 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("TFTP Server Name -> %v", op.TFTPServerName)
+ return fmt.Sprintf("TFTP Server Name -> %s", op.TFTPServerName)
}
// ParseOptTFTPServerName returns a new OptTFTPServerName fomr a byte stream or error if any