]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: tftp: fix option validation as per RFCs
authorRavik Hasija <rahasij@linux.microsoft.com>
Tue, 19 May 2020 04:35:43 +0000 (21:35 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jun 2020 17:17:23 +0000 (13:17 -0400)
commit0813921042c363a9c591454144226e67ed21a223
treece081bff089c0f15ae3a2bb6dfbe77b8ced85457
parent46c8b18734d273619174006eef498639c06000d3
net: tftp: fix option validation as per RFCs

RFC2348, RFC2349:
- Option string is case in-sensitive.
- Client must generate ERR pkt in case option value mismatch in server OACK
- Fix debug print for options

Signed-off-by: Ravik Hasija <rahasij@linux.microsoft.com>
Reviewed-By: Ramon Fried <rfried.dev@gmail.com>
net/tftp.c