summaryrefslogtreecommitdiff
path: root/networking/tftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/tftp.c')
-rw-r--r--networking/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c
index 4d608a6..043747d 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -466,7 +466,7 @@ static int tftp_protocol(
}
cp = stpcpy(cp, remote_file) + 1;
/* add "mode" part of the packet */
- cp = stpcpy(cp, "octet");
+ cp = stpcpy(cp, "octet") + 1;
# if ENABLE_FEATURE_TFTP_BLOCKSIZE
if (blksize == TFTP_BLKSIZE_DEFAULT && !want_transfer_size)