1 --- a/networking/tftp.c
2 +++ b/networking/tftp.c
3 @@ -813,7 +813,8 @@ int tftpd_main(int argc UNUSED_PARAM, ch
6 mode = local_file + strlen(local_file) + 1;
7 - if (mode >= block_buf + result || strcmp(mode, "octet") != 0) {
8 + /* RFC 1350 says mode string is case independent */
9 + if (mode >= block_buf + result || strcasecmp(mode, "octet") != 0) {
12 # if ENABLE_FEATURE_TFTP_BLOCKSIZE