summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2015-06-28 19:19:40 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2015-06-29 07:25:01 +0200
commit69957c548101c2c2a2e9cc5e588c610fb08d71a1 (patch)
tree04f8e5ba80ac557fa4f188128bb44bad16968f8e /include
parentfb6f3318de9eef90a9fc6bc7a7029ced221f78ac (diff)
downloadbarebox-69957c548101c2c2a2e9cc5e588c610fb08d71a1.tar.gz
barebox-69957c548101c2c2a2e9cc5e588c610fb08d71a1.tar.xz
tftp_recv(): handle opcode field in a more natural way
RFC1350 uses the 'opcode' term for the first 2-bytes field of TFTP packet. But the U-boot tftp code uses the 'proto' term for the same thing. The patch takes back original term and makes opcode calculation more clear. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions