diff options
author | insomniac <insomniacslk@users.noreply.github.com> | 2018-11-27 18:36:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-27 18:36:50 +0000 |
commit | ad2fa9b4836d5bb087cc4835070669c53960fd0f (patch) | |
tree | 1b537f64c4c62a0ad2d57e26bb80948cdc1db292 /dhcpv4/option_tftp_server_name.go | |
parent | 0b70b1f1fb1bf27e16203b02c4fc74bea90d5b1e (diff) |
Removed unreachable code, fixed misspelling (#212)
* Removed unreachable code
* Addressed misspelling errors
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 19dde21..3a310f9 100644 --- a/dhcpv4/option_tftp_server_name.go +++ b/dhcpv4/option_tftp_server_name.go @@ -31,7 +31,7 @@ func (op *OptTFTPServerName) String() string { return fmt.Sprintf("TFTP Server Name -> %s", op.TFTPServerName) } -// ParseOptTFTPServerName returns a new OptTFTPServerName fomr a byte stream or error if any +// ParseOptTFTPServerName returns a new OptTFTPServerName from a byte stream or error if any func ParseOptTFTPServerName(data []byte) (*OptTFTPServerName, error) { if len(data) < 3 { return nil, ErrShortByteStream |